diff options
author | Francisco Jerez <currojerez@riseup.net> | 2013-02-26 02:33:11 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-03-04 11:44:18 +1000 |
commit | 197c83c304b21dcf8fcea496456753eb86f3bb93 (patch) | |
tree | 75f7047e43e74069389f87783e38164db673bb6d | |
parent | 999169ea660d4081297406769cafbc09da4ea512 (diff) | |
download | nouveau-197c83c304b21dcf8fcea496456753eb86f3bb93.tar.gz |
Disable AGP on PowerPC again.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drm/nouveau_agp.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drm/nouveau_agp.c b/drm/nouveau_agp.c index d28430cd2..6e7a55f93 100644 --- a/drm/nouveau_agp.c +++ b/drm/nouveau_agp.c @@ -47,6 +47,18 @@ nouveau_agp_enabled(struct nouveau_drm *drm) if (drm->agp.stat == UNKNOWN) { if (!nouveau_agpmode) return false; +#ifdef __powerpc__ + /* Disable AGP by default on all PowerPC machines for + * now -- At least some UniNorth-2 AGP bridges are + * known to be broken: DMA from the host to the card + * works just fine, but writeback from the card to the + * host goes straight to memory untranslated bypassing + * the GATT somehow, making them quite painful to deal + * with... + */ + if (nouveau_agpmode == -1) + return false; +#endif return true; } |