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

Kevin Brace kevinbrace at kemper.freedesktop.org
Wed Apr 20 05:07:44 UTC 2016


 configure.ac   |    2 +-
 src/via_lvds.c |   23 -----------------------
 2 files changed, 1 insertion(+), 24 deletions(-)

New commits:
commit f45c5765bac55d69fa9637cea67844e6f95ff25f
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Apr 19 22:07:19 2016 -0700

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

diff --git a/configure.ac b/configure.ac
index 7602233..6fefaa0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.4.128],
+        [0.4.129],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit 36c0165362d5d27a8f93bc9fcea6cc7b55dc6ef1
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Apr 19 22:03:46 2016 -0700

    Removing ViaGetVesaMode
    
    VBE is no longer supported, hence, dead code should be removed.
    This function was located inside via_lvds.c.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_lvds.c b/src/via_lvds.c
index e5dccca..788304e 100644
--- a/src/via_lvds.c
+++ b/src/via_lvds.c
@@ -561,29 +561,6 @@ ViaGetResolutionIndex(ScrnInfoPtr pScrn, ViaPanelInfoPtr Panel,
     return FALSE;
 }
 
-static int
-ViaGetVesaMode(ScrnInfoPtr pScrn, DisplayModePtr mode)
-{
-    int i;
-
-    for (i = 0; ViaVesaModes[i].Width; i++)
-        if ((ViaVesaModes[i].Width == mode->CrtcHDisplay)
-            && (ViaVesaModes[i].Height == mode->CrtcVDisplay)) {
-            switch (pScrn->bitsPerPixel) {
-                case 8:
-                    return ViaVesaModes[i].mode_8b;
-                case 16:
-                    return ViaVesaModes[i].mode_16b;
-                case 24:
-                case 32:
-                    return ViaVesaModes[i].mode_32b;
-                default:
-                    return 0xFFFF;
-            }
-        }
-    return 0xFFFF;
-}
-
 /*
  * Gets the native panel resolution from scratch pad registers.
  */


More information about the Openchrome-devel mailing list