From 5766d81074d6faa7f14b45635765cdb7209597fc Mon Sep 17 00:00:00 2001 From: Stephane Marchesin Date: Thu, 1 Nov 2007 15:48:46 +0100 Subject: nouveau: don't use AGP on PPC. It's a hopeless case. --- shared-core/nouveau_mem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c index 448b69d3..0e73c149 100644 --- a/shared-core/nouveau_mem.c +++ b/shared-core/nouveau_mem.c @@ -392,11 +392,13 @@ int nouveau_mem_init(struct drm_device *dev) dev_priv->fb_nomap_heap=NULL; } +#ifndef __powerpc__ /* Init AGP / NV50 PCIEGART */ if (drm_device_is_agp(dev) && dev->agp) { if ((ret = nouveau_mem_init_agp(dev))) DRM_ERROR("Error initialising AGP: %d\n", ret); } +#endif /*Note: this is *not* just NV50 code, but only used on NV50 for now */ if (dev_priv->gart_info.type == NOUVEAU_GART_NONE && -- cgit v1.2.3