aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2001-06-07 22:19:35 +0800
committerjmz <jmz@FreeBSD.org>2001-06-07 22:19:35 +0800
commit34eff068f990d411d982aa2e763b3748cfc59873 (patch)
tree6744061c69986ed26ca6781b38b2ce49f86f5c04 /x11
parent95a956872c07942b2d684c957c18a19d5f09e120 (diff)
downloadfreebsd-ports-graphics-34eff068f990d411d982aa2e763b3748cfc59873.tar.gz
freebsd-ports-graphics-34eff068f990d411d982aa2e763b3748cfc59873.tar.zst
freebsd-ports-graphics-34eff068f990d411d982aa2e763b3748cfc59873.zip
Fix the VT switching consoles bug with the i810 driver.
Submitted by: Andrew Hesford <ajh3@usrlib.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4/files/patch-i81026
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/XFree86-4/files/patch-i810 b/x11/XFree86-4/files/patch-i810
new file mode 100644
index 00000000000..f9c346b2939
--- /dev/null
+++ b/x11/XFree86-4/files/patch-i810
@@ -0,0 +1,26 @@
+--- programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig Tue May 29 17:51:29 2001
++++ programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c Thu Jun 7 00:12:25 2001
+@@ -2006,9 +2006,10 @@
+ if (I810_DEBUG & DEBUG_VERBOSE_DRI)
+ ErrorF("\n\nENTER VT\n");
+
++/*********BUGGY*********************
+ if (! I810BindGARTMemory(pScrn))
+ return FALSE;
+-
++***********************************/
+ #ifdef XF86DRI
+ if (pI810->directRenderingEnabled) {
+ if (I810_DEBUG & DEBUG_VERBOSE_DRI)
+@@ -2047,9 +2048,10 @@
+ }
+ I810Restore(pScrn);
+
++/*********BUGGY***********************
+ if (! I810UnbindGARTMemory(pScrn))
+ return;
+-
++*************************************/
+ vgaHWLock(hwp);
+ }
+