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

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue Apr 26 18:22:05 UTC 2016


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

New commits:
commit 1c6684c6ac41faa24aa79ccd4f0c32140baee667
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Apr 26 11:21:37 2016 -0700

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

diff --git a/configure.ac b/configure.ac
index a1586f2..b55a714 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-openchrome],
-        [0.4.142],
+        [0.4.143],
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/openchrome],
         [xf86-video-openchrome])
 
commit a3eedc08a4e4824512b2a15c119a24cc45acefc4
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Apr 26 11:14:09 2016 -0700

    Added comments about IGA2 screen state during mode setting
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index 356389b..c832ccb 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1677,6 +1677,7 @@ iga2_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
         return;
     }
 
+    /* Turn off IGA2 during mode setting. */
     viaIGA2Screen(pScrn, FALSE);
 
     ViaCRTCInit(pScrn);
@@ -1690,6 +1691,7 @@ iga2_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
 
     iga2_crtc_set_origin(crtc, crtc->x, crtc->y);
 
+    /* Turn on IGA2 now that mode setting is done. */
     viaIGA2Screen(pScrn, TRUE);
 
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
commit 4ab3e96aadd091a3a46874a16ad2c3f6d58dbde9
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Apr 26 10:57:10 2016 -0700

    Eliminating the junk shown on the screen at the boot up for IGA1
    
    When display mode setting is being done for IGA1, the screen is now
    turned off so that garbage is not shown on the screen. This improves
    the user experience. (^_^)
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index 5e2a05e..356389b 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1265,6 +1265,9 @@ iga1_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
         return;
     }
 
+    /* Turn off IGA1 during mode setting. */
+    viaIGA1DPMSControl(pScrn, 0x03);
+
     ViaCRTCInit(pScrn);
     viaIGA1SetMode(pScrn, adjusted_mode);
 
@@ -1275,6 +1278,9 @@ iga1_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
 
     iga1_crtc_set_origin(crtc, crtc->x, crtc->y);
 
+    /* Turn on IGA1 now that mode setting is done. */
+    viaIGA1DPMSControl(pScrn, 0x00);
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Exiting iga1_crtc_mode_set.\n"));
 }


More information about the Openchrome-devel mailing list