Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360906
b: refs/heads/master
c: 650e120
h: refs/heads/master
v: v3
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Mar 4, 2013
1 parent 77722a4 commit 2f910ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 65b5f42e2a9eb9c8383fb67698bf8c27657f8c14
refs/heads/master: 650e1203c11354ba84d69ba445abc0efcfe3890a
12 changes: 12 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/nouveau_agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2f910ec

Please sign in to comment.