···4747 if (drm->agp.stat == UNKNOWN) {4848 if (!nouveau_agpmode)4949 return false;5050+#ifdef __powerpc__5151+ /* Disable AGP by default on all PowerPC machines for5252+ * now -- At least some UniNorth-2 AGP bridges are5353+ * known to be broken: DMA from the host to the card5454+ * works just fine, but writeback from the card to the5555+ * host goes straight to memory untranslated bypassing5656+ * the GATT somehow, making them quite painful to deal5757+ * with...5858+ */5959+ if (nouveau_agpmode == -1)6060+ return false;6161+#endif5062 return true;5163 }5264