aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2002-01-08 02:35:28 +0800
committerjmz <jmz@FreeBSD.org>2002-01-08 02:35:28 +0800
commit05ffdd3d377455e2de78c1a9171d276dc3d71b88 (patch)
treed11da90fbf4eef5a656430022ea17165a5e6614c /x11/XFree86-4
parent9c0ae0d5ee4f2162196b1e46e53b36df6920dabb (diff)
downloadfreebsd-ports-gnome-05ffdd3d377455e2de78c1a9171d276dc3d71b88.tar.gz
freebsd-ports-gnome-05ffdd3d377455e2de78c1a9171d276dc3d71b88.tar.zst
freebsd-ports-gnome-05ffdd3d377455e2de78c1a9171d276dc3d71b88.zip
Fix a flickering LCD problem with i815 chipset.
PR: ports/33504 Submitted by: Peter KC Lee <peterkclee@mindless.com>
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r--x11/XFree86-4/Makefile2
-rw-r--r--x11/XFree86-4/files/patch-i81024
2 files changed, 21 insertions, 5 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile
index 0a99e4b2d618..148bc9737d84 100644
--- a/x11/XFree86-4/Makefile
+++ b/x11/XFree86-4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= XFree86
PORTVERSION= 4.1.0
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= 4.1.0
diff --git a/x11/XFree86-4/files/patch-i810 b/x11/XFree86-4/files/patch-i810
index f9c346b29394..b6d75b108146 100644
--- a/x11/XFree86-4/files/patch-i810
+++ b/x11/XFree86-4/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);