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

Kevin Brace kevinbrace at kemper.freedesktop.org
Tue May 10 05:08:53 UTC 2016


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

New commits:
commit 93a0664b9907f97ef572eac2bf9b734a32af689f
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon May 9 22:07:17 2016 -0700

    Added debug messages to iga2_crtc_set_origin
    
    This function is located inside via_display.c.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index 3281d8d..dac8691 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -2609,8 +2609,14 @@ iga2_crtc_set_origin(xf86CrtcPtr crtc, int x, int y)
     ScrnInfoPtr pScrn = crtc->scrn;
     VIAPtr pVia = VIAPTR(pScrn);
 
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Entered iga2_crtc_set_origin.\n"));
+
     viaIGA2SetFBStartingAddress(crtc, x, y);
     VIAVidAdjustFrame(pScrn, x, y);
+
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Exiting iga2_crtc_set_origin.\n"));
 }
 
 static void
commit 135795372998bd0fa7c7d297a18c3c3effd46d3b
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Mon May 9 22:05:44 2016 -0700

    Added debug messages to iga1_crtc_set_origin
    
    This function is located inside via_display.c.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_display.c b/src/via_display.c
index f1bdc83..3281d8d 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -2178,8 +2178,14 @@ iga1_crtc_set_origin(xf86CrtcPtr crtc, int x, int y)
     ScrnInfoPtr pScrn = crtc->scrn;
     VIAPtr pVia = VIAPTR(pScrn);
 
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Entered iga1_crtc_set_origin.\n"));
+
     viaIGA1SetFBStartingAddress(crtc, x, y);
     VIAVidAdjustFrame(pScrn, x, y);
+
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Exiting iga1_crtc_set_origin.\n"));
 }
 
 static void


More information about the Openchrome-devel mailing list