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

Kevin Brace kevinbrace at kemper.freedesktop.org
Fri Jun 10 05:26:37 UTC 2016


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

New commits:
commit 7c271cdb935f89982db9501625fb37a53c401aa4
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Fri Jun 10 00:25:49 2016 -0500

    Version bumped to 0.4.175
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/configure.ac b/configure.ac
index 9985324..5d8dfe0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.4.174],
+        [0.4.175],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit 1b14cd93c4c149f82840198a561f24d4e17beb54
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Fri Jun 10 00:22:07 2016 -0500

    Disabling LCD scaling for IGA2
    
    Making sure that it is always turned off.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index e70ee6f..187c910 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1822,6 +1822,10 @@ viaIGA2Init(ScrnInfoPtr pScrn)
                             "CR6C: 0x%02X\n", temp));
     }
 
+    temp = hwp->readCrtc(hwp, 0x79);
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "CR79: 0x%02X\n", temp));
+
 #endif
 
     /* 3C5.1B[7:6] - Secondary Display Engine (Gated Clock <LCK>)
@@ -1909,6 +1913,12 @@ viaIGA2Init(ScrnInfoPtr pScrn)
         ViaCrtcMask(hwp, 0x6C, 0x00, 0x0F);
     }
 
+    /* Disable LCD scaling */
+    /* 3X5.79[0] - LCD Scaling Enable
+     *             0: Disable
+     *             1: Enable */
+    ViaCrtcMask(hwp, 0x79, 0x00, 0x01);
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Exiting viaIGA2Init.\n"));
 }


More information about the Openchrome-devel mailing list