[xorg-x11-drv-nouveau] add missing patch

Ben Skeggs bskeggs at fedoraproject.org
Mon Nov 8 22:36:33 UTC 2010


commit e31ebcbd4d162b4cad7f2cf30f5d40ac618b9dde
Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Tue Nov 9 08:36:08 2010 +1000

    add missing patch

 nouveau-nva3-noaccel-info.patch |   40 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/nouveau-nva3-noaccel-info.patch b/nouveau-nva3-noaccel-info.patch
new file mode 100644
index 0000000..31d48fd
--- /dev/null
+++ b/nouveau-nva3-noaccel-info.patch
@@ -0,0 +1,40 @@
+From 0dec0303383c76f9f61345af88a81201ec75b41d Mon Sep 17 00:00:00 2001
+From: Ben Skeggs <bskeggs at redhat.com>
+Date: Mon, 11 Oct 2010 10:35:43 +1000
+Subject: [PATCH 3/3] nva3-noaccel-info
+
+Add info to logs as to likely reason why acceleration isn't available
+on NVA3+ chipsets.
+---
+ src/nv_dma.c |   15 +++++++++++++++
+ 1 files changed, 15 insertions(+), 0 deletions(-)
+
+diff --git a/src/nv_dma.c b/src/nv_dma.c
+index 409f42c..6585b54 100644
+--- a/src/nv_dma.c
++++ b/src/nv_dma.c
+@@ -77,6 +77,21 @@ NVInitDma(ScrnInfoPtr pScrn)
+ 	if (ret) {
+ 		xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
+ 			   "Error creating GPU channel: %d\n", ret);
++		switch (pNv->dev->chipset) {
++		case 0xa3:
++		case 0xa5:
++		case 0xa8:
++		case 0xaf:
++			xf86DrvMsg(pScrn->scrnIndex, X_INFO,
++				   "Acceleration disabled by default due to "
++				   "unresolved GPU hangs on your chipset.\n");
++			xf86DrvMsg(pScrn->scrnIndex, X_INFO,
++				   "See https://bugzilla.redhat.com/"
++				   "show_bug.cgi?id=625187 for more "
++				   "information\n");
++			break;
++		}
++
+ 		return FALSE;
+ 	}
+ 	pNv->chan->user_private = pScrn;
+-- 
+1.7.3.2
+


More information about the scm-commits mailing list