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

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue Apr 26 00:13:07 UTC 2016


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

New commits:
commit ba099939a6a8b3cd6ddeaaa0c0c791318bbb40a8
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon Apr 25 17:12:34 2016 -0700

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

diff --git a/configure.ac b/configure.ac
index 72f6778..494cd78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.4.137],
+        [0.4.138],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit c1e8206d89b4e9ecf20de2f8864a9da9318f1e65
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon Apr 25 17:09:00 2016 -0700

    Getting rid of realMode pointer from viaIGA2SetMode
    
    mode pointer given by the function is adequate.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index b19b511..89b2f76 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1006,14 +1006,13 @@ viaIGA2SetMode(ScrnInfoPtr pScrn, DisplayModePtr mode)
     VIAPtr pVia = VIAPTR(pScrn);
     VIABIOSInfoPtr pBIOSInfo = pVia->pBIOSInfo;
     vgaHWPtr hwp = VGAHWPTR(pScrn);
-    DisplayModePtr realMode = mode;
 
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Entered viaIGA2SetMode.\n"));
 
-    viaIGA2SetDisplayRegister(pScrn, realMode);
-    ViaSetSecondaryFIFO(pScrn, realMode);
-    pBIOSInfo->Clock = ViaModeDotClockTranslate(pScrn, realMode);
+    viaIGA2SetDisplayRegister(pScrn, mode);
+    ViaSetSecondaryFIFO(pScrn, mode);
+    pBIOSInfo->Clock = ViaModeDotClockTranslate(pScrn, mode);
     pBIOSInfo->ClockExternal = FALSE;
     ViaSetSecondaryDotclock(pScrn, pBIOSInfo->Clock);
     ViaSetUseExternalClock(hwp);


More information about the Openchrome-devel mailing list