aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2002-01-08 03:51:22 +0800
committersf <sf@FreeBSD.org>2002-01-08 03:51:22 +0800
commit61372f25463661adceabe3f76cc71712adb579d9 (patch)
tree1dd5e953d6299b6803da38d3b0ca755d51a52c68 /x11/XFree86-4-libraries
parentf1b7a5bccc8cfbd33b808556deeb83007c42a298 (diff)
downloadfreebsd-ports-gnome-61372f25463661adceabe3f76cc71712adb579d9.tar.gz
freebsd-ports-gnome-61372f25463661adceabe3f76cc71712adb579d9.tar.zst
freebsd-ports-gnome-61372f25463661adceabe3f76cc71712adb579d9.zip
sync with XFree86-4
- Fix a flickering LCD problem with i815 chipset.
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r--x11/XFree86-4-libraries/files/patch-i81024
1 files changed, 20 insertions, 4 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-i810 b/x11/XFree86-4-libraries/files/patch-i810
index f9c346b29394..b6d75b108146 100644
--- a/x11/XFree86-4-libraries/files/patch-i810
+++ b/x11/XFree86-4-libraries/files/patch-i810
@@ -1,6 +1,22 @@
---- 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 @@
+--- programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig Wed May 30 06:51:29 2001
++++ programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c Thu Jan 3 11:11:42 2002
+@@ -1019,10 +1019,15 @@
+ {
+ vgaHWPtr hwp;
+ I810Ptr pI810;
++ unsigned temp;
+
+ hwp = VGAHWPTR(pScrn);
+ pI810 = I810PTR(pScrn);
+ DoSave(pScrn, &hwp->SavedReg, &pI810->SavedReg, TRUE);
++
++ temp = INREG(MEMMODE);
++ temp |= 4;
++ OUTREG(MEMMODE, temp);
+ }
+
+
+@@ -2006,9 +2011,10 @@
if (I810_DEBUG & DEBUG_VERBOSE_DRI)
ErrorF("\n\nENTER VT\n");
@@ -12,7 +28,7 @@
#ifdef XF86DRI
if (pI810->directRenderingEnabled) {
if (I810_DEBUG & DEBUG_VERBOSE_DRI)
-@@ -2047,9 +2048,10 @@
+@@ -2047,9 +2053,10 @@
}
I810Restore(pScrn);