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

Kevin Brace kevinbrace at kemper.freedesktop.org
Sun Feb 21 10:25:14 UTC 2016


 src/via_outputs.c |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 277ee3e2eb000682df419958f78511da7078c613
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sun Feb 21 02:23:15 2016 -0800

    Added debug messages to via_dp_init
    
    Added debug messages to via_dp_init function inside via_outputs.c.
    
    Signed-off-by: Kevin Brace <kevinbrace at gmx.com>

diff --git a/src/via_outputs.c b/src/via_outputs.c
index c2a68aa..8034911 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -660,6 +660,9 @@ via_dp_init(ScrnInfoPtr pScrn)
     VIAPtr pVia = VIAPTR(pScrn);
     xf86OutputPtr output = NULL;
 
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Entered via_dp_init.\n"));
+
     if (pVia->pI2CBus2)
         output = xf86OutputCreate(pScrn, &via_dp_funcs, "DP-1");
     if (output) {
@@ -668,6 +671,9 @@ via_dp_init(ScrnInfoPtr pScrn)
         output->interlaceAllowed = TRUE;
         output->doubleScanAllowed = FALSE;
     }
+
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Exiting via_dp_init.\n"));
 }
 
 /*


More information about the Openchrome-devel mailing list