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

Kevin Brace kevinbrace at kemper.freedesktop.org
Sat Nov 5 02:58:41 UTC 2016


 configure.ac      |    2 +-
 src/via_display.c |   11 ++++-------
 2 files changed, 5 insertions(+), 8 deletions(-)

New commits:
commit c793eeaec4496c4eeae73223d9722b9b3615fec1
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Fri Nov 4 19:56:05 2016 -0700

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

diff --git a/configure.ac b/configure.ac
index 26cc033..bae5c74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.5.169],
+        [0.5.170],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit d04170d5f2245bd1276e7221f9c26ebdd17f1006
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Fri Nov 4 19:55:07 2016 -0700

    Not touching palette LUT resolution bit from viaIGA1SetColorDepth
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index 60f5c4b..8cd46f5 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -167,10 +167,7 @@ viaIGA1SetColorDepth(ScrnInfoPtr pScrn, CARD8 bitsPerPixel)
     /* Set the color depth for IGA1. */
     switch (bitsPerPixel) {
     case 8:
-        /* 3C5.15[7]   - 8/6 Bits LUT
-         *               0: 6-bit
-         *               1: 8-bit
-         * 3C5.15[4]   - Hi Color Mode Select
+        /* 3C5.15[4]   - Hi Color Mode Select
          *               0: 555
          *               1: 565
          * 3C5.15[3:2] - Display Color Depth Select
@@ -178,14 +175,14 @@ viaIGA1SetColorDepth(ScrnInfoPtr pScrn, CARD8 bitsPerPixel)
          *               01: 16bpp
          *               10: 30bpp
          *               11: 32bpp */
-        ViaSeqMask(hwp, 0x15, 0x80, 0x9C);
+        ViaSeqMask(hwp, 0x15, 0x00, 0x1C);
         break;
     case 16:
-        ViaSeqMask(hwp, 0x15, 0x94, 0x9C);
+        ViaSeqMask(hwp, 0x15, 0x14, 0x1C);
         break;
     case 24:
     case 32:
-        ViaSeqMask(hwp, 0x15, 0x9C, 0x9C);
+        ViaSeqMask(hwp, 0x15, 0x1C, 0x1C);
         break;
     default:
         break;


More information about the Openchrome-devel mailing list