pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-ati Include the mode restore bugfix fro...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1d17680e8b3
branches:  trunk
changeset: 527571:e1d17680e8b3
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Apr 10 19:10:54 2007 +0000

description:
Include the mode restore bugfix from monolithic Xorg, that is derived
from the version in xsrc which in turn was provided by Matthieu Herb
over 3 years ago on the XFree86 lists. Suggested by various developers,
hold-back due to the working state in xorg-server 1.1.1. Tracing down
the exact change showed that the changed default color depth made this
issue a lot more prominent again. Discussed with Eric Anholt.
Bump revision.

diffstat:

 x11/xf86-video-ati/Makefile         |   3 ++-
 x11/xf86-video-ati/distinfo         |   3 ++-
 x11/xf86-video-ati/patches/patch-aa |  31 +++++++++++++++++++++++++++++++
 3 files changed, 35 insertions(+), 2 deletions(-)

diffs (58 lines):

diff -r f555f3a7677b -r e1d17680e8b3 x11/xf86-video-ati/Makefile
--- a/x11/xf86-video-ati/Makefile       Tue Apr 10 19:08:03 2007 +0000
+++ b/x11/xf86-video-ati/Makefile       Tue Apr 10 19:10:54 2007 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2006/11/14 17:24:33 reed Exp $
+# $NetBSD: Makefile,v 1.4 2007/04/10 19:10:54 joerg Exp $
 
 DISTNAME=      xf86-video-ati-6.6.3
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  http://xorg.freedesktop.org/releases/individual/driver/
 EXTRACT_SUFX=  .tar.bz2
diff -r f555f3a7677b -r e1d17680e8b3 x11/xf86-video-ati/distinfo
--- a/x11/xf86-video-ati/distinfo       Tue Apr 10 19:08:03 2007 +0000
+++ b/x11/xf86-video-ati/distinfo       Tue Apr 10 19:10:54 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/11/14 17:16:27 joerg Exp $
+$NetBSD: distinfo,v 1.2 2007/04/10 19:10:54 joerg Exp $
 
 SHA1 (xf86-video-ati-6.6.3.tar.bz2) = b911df1f4b41ad37028c708e2c95e5a729a32ede
 RMD160 (xf86-video-ati-6.6.3.tar.bz2) = a1c24c13ea88fa38f34e3f0540b53082ab2ae129
 Size (xf86-video-ati-6.6.3.tar.bz2) = 723083 bytes
+SHA1 (patch-aa) = 0f8a8514f58c0b535e8d7048025ebfaf097f53a0
diff -r f555f3a7677b -r e1d17680e8b3 x11/xf86-video-ati/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-ati/patches/patch-aa       Tue Apr 10 19:10:54 2007 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1 2007/04/10 19:10:55 joerg Exp $
+
+--- src/radeon_driver.c.orig   2007-04-10 20:15:31.000000000 +0200
++++ src/radeon_driver.c
+@@ -7374,7 +7374,7 @@ static void RADEONSave(ScrnInfoPtr pScrn
+            vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE); /* Save mode only */
+ # else
+            /* Save mode * & fonts & cmap */
+-           vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS);
++           vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL);
+ # endif
+            vgaHWLock(hwp);
+        }
+@@ -7450,7 +7450,7 @@ static void RADEONRestore(ScrnInfoPtr pS
+             */
+            vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_MODE );
+ # else
+-           vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_MODE | VGA_SR_FONTS );
++           vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_ALL );
+ # endif
+            vgaHWLock(hwp);
+         } else {
+@@ -7465,7 +7465,7 @@ static void RADEONRestore(ScrnInfoPtr pS
+ #if defined(__powerpc__)
+                vgaHWRestore(pScrn0, &hwp0->SavedReg, VGA_SR_MODE);
+ #else
+-               vgaHWRestore(pScrn0, &hwp0->SavedReg, VGA_SR_MODE | VGA_SR_FONTS );
++               vgaHWRestore(pScrn0, &hwp0->SavedReg, VGA_SR_ALL);
+ #endif
+                vgaHWLock(hwp0);
+            }



Home | Main Index | Thread Index | Old Index