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

Kevin Brace kevinbrace at kemper.freedesktop.org
Sun Jan 8 04:19:37 UTC 2017


 configure.ac      |    2 +-
 src/via_display.c |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 2cb8c637ea1e7ff028734bcbeceffe05500fd0b9
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sat Jan 7 22:17:53 2017 -0600

    Version bumped to 0.5.179
    
    This version hopefully fixes the VT switch screen corruption for good.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/configure.ac b/configure.ac
index 7519835..57747a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.5.178],
+        [0.5.179],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit 3930206751906c35f75b7f18fd36504fe8002598
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sat Jan 7 22:14:10 2017 -0600

    Fix for VT switch screen corruption bug
    
    This fix is a more of a permanent fix of the VT switch screen
    corruption bug.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index bb7424e..b368f26 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -3342,6 +3342,8 @@ viaIGA2Save(ScrnInfoPtr pScrn)
 
     vgaHWProtect(pScrn, TRUE);
 
+    vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL);
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Saving IGA2 registers.\n"));
 
@@ -3472,6 +3474,8 @@ viaIGA2Restore(ScrnInfoPtr pScrn)
 
     vgaHWProtect(pScrn, TRUE);
 
+    vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_ALL);
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Restoring IGA2 registers.\n"));
 


More information about the Openchrome-devel mailing list