[openchrome-devel] xf86-video-openchrome: 2 commits - configure.ac src/via_ums.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Sun Dec 30 01:43:34 UTC 2018


 configure.ac  |    2 +-
 src/via_ums.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 03b085dc6da11e3dc5bd3d41934247659eb4cdc2
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sat Dec 29 19:43:09 2018 -0600

    Version bumped to 0.6.181
    
    Fixed an issue with the FP getting disrupted when the computer is in VT.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/configure.ac b/configure.ac
index 351c327..9f0d244 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.6.180],
+        [0.6.181],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit da292049e7d4bb4eae67dbb6854cc733ea88b263
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sat Dec 29 19:23:16 2018 -0600

    Fix for VT disruption when FP is in use
    
    Certain FP related VGA registers were not getting saved during the DDX
    UMS code initialization, and this was leading to a disrupted VT screen
    when FP is in use.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_ums.c b/src/via_ums.c
index a789e4f..533106f 100644
--- a/src/via_ums.c
+++ b/src/via_ums.c
@@ -1188,7 +1188,7 @@ umsCrtcInit(ScrnInfoPtr pScrn)
     Regs->CR[0x47] = hwp->readCrtc(hwp, 0x47);
     Regs->CR[0x48] = hwp->readCrtc(hwp, 0x48);
 
-    for (i = 0; i < (0x9F - 0x50 + 1); i++) {
+    for (i = 0; i < (0xA8 - 0x50 + 1); i++) {
         Regs->CR[i + 0x50] = hwp->readCrtc(hwp, i + 0x50);
     }
 
@@ -1197,8 +1197,8 @@ umsCrtcInit(ScrnInfoPtr pScrn)
     case VIA_VX800:
     case VIA_VX855:
     case VIA_VX900:
-        for (i = 0; i < (0xEF - 0xA0 + 1); i++) {
-            Regs->CR[i + 0xA0] = hwp->readCrtc(hwp, i + 0xA0);
+        for (i = 0; i < (0xEF - 0xA9 + 1); i++) {
+            Regs->CR[i + 0xA9] = hwp->readCrtc(hwp, i + 0xA9);
         }
 
         break;


More information about the openchrome-devel mailing list