diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2002-01-07 18:35:28 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2002-01-07 18:35:28 +0000 |
commit | 9001d56e86bcc953709738b7051319d139906150 (patch) | |
tree | e74d7b6b0a881b58264cb8ae080aa702922bebe3 /x11/XFree86-4 | |
parent | Fix dependency for xemacs21-mule. (diff) |
Fix a flickering LCD problem with i815 chipset.
PR: ports/33504
Submitted by: Peter KC Lee <peterkclee@mindless.com>
Notes
Notes:
svn path=/head/; revision=52721
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r-- | x11/XFree86-4/Makefile | 2 | ||||
-rw-r--r-- | x11/XFree86-4/files/patch-i810 | 24 |
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); |