[Openchrome-devel] xf86-video-openchrome: src/via_display.c

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue Apr 26 17:25:55 UTC 2016


 src/via_display.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 872cc3a5db6b6cbac637657ace8af10cf0d085c4
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Tue Apr 26 10:24:37 2016 -0700

    Eliminating the junk shown on the screen at the boot up for IGA2
    
    When display mode setting is being done for IGA2, 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 9e841ec..5e2a05e 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1671,6 +1671,8 @@ iga2_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
         return;
     }
 
+    viaIGA2Screen(pScrn, FALSE);
+
     ViaCRTCInit(pScrn);
     viaIGA2SetMode(pScrn, adjusted_mode);
     viaIGA2DisplayChannel(pScrn, TRUE);
@@ -1682,6 +1684,8 @@ iga2_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
 
     iga2_crtc_set_origin(crtc, crtc->x, crtc->y);
 
+    viaIGA2Screen(pScrn, TRUE);
+
     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Exiting iga2_crtc_mode_set.\n"));
 }


More information about the Openchrome-devel mailing list