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

Kevin Brace kevinbrace at kemper.freedesktop.org
Sun Feb 21 09:48:08 UTC 2016


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

New commits:
commit 39503b8a0265330769b43a748b49f7201e52c76b
Author: Kevin Brace <kevinbrace at gmx.com>
Date:   Sun Feb 21 01:46:27 2016 -0800

    Added debug messages to via_analog_init
    
    Added debug messages to via_analog_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 fefe698..c2a68aa 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -876,6 +876,9 @@ via_analog_init(ScrnInfoPtr pScrn)
     VIABIOSInfoPtr pBIOSInfo = pVia->pBIOSInfo;
     xf86OutputPtr output = NULL;
 
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Entered via_analog_init.\n"));
+
     if (pVia->pI2CBus1) {
         output = xf86OutputCreate(pScrn, &via_analog_funcs, "VGA-1");
 
@@ -885,6 +888,9 @@ via_analog_init(ScrnInfoPtr pScrn)
         output->doubleScanAllowed = FALSE;
         pBIOSInfo->analog = output;
     }
+
+    DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+                        "Exiting via_analog_init.\n"));
 }
 
 static void


More information about the Openchrome-devel mailing list