[PATCH 3/3] UBUNTU: SAUCE: Nouveau: Disable acceleration on GeForce3 cards

Andy Whitcroft apw at canonical.com
Fri Apr 9 15:22:10 UTC 2010


From: Christopher James Halse Rogers <raof at ubuntu.com>

Upstream obviously wants to fix acceleration rather than disable it.
For Lucid however we need these cards to boot more than we need them to
be fast.

With acceleration enabled these cards hang during boot.

BugLink: http://bugs.launchpad.net/bugs/544088

Signed-off-by: Christopher James Halse Rogers <raof at ubuntu.com>
Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 drivers/gpu/drm/nouveau/nouveau_state.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 462432c..63014f4 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -614,6 +614,13 @@ static void nouveau_apply_noaccel_quirks (struct drm_device *dev)
 			NV_INFO(dev, "Detected MacBook Pro 9600GT chip. "
 				 "Disabling acceleration\n");
 		}
+		/* At least two of the three nv20 cards hang with acceleration */
+		/* See https://bugs.launchpad.net/bugs/544088 */
+		if (dev_priv->chipset == 0x20) {
+			nouveau_noaccel = 1;
+			NV_INFO(dev, "Detected NV20 (GeForce 3) chip. "
+				 "Disabling acceleration\n");
+		}
 	}
 }
 
-- 
1.7.0





More information about the kernel-team mailing list