[Openchrome-devel] xf86-video-openchrome: 2 commits - src/via_outputs.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Fri Mar 11 01:32:27 UTC 2016
src/via_outputs.c | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
New commits:
commit b8eb2abacc4ff1bb84c065e06e2d785ab4ea320f
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Thu Mar 10 17:32:03 2016 -0800
Modified debug messages within via_dvi_init
Modified debug messages within via_dvi_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 ed12fa7..e743cf0 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -932,16 +932,19 @@ via_dvi_init(ScrnInfoPtr pScrn)
}
if (xf86I2CProbeAddress(pVia->pI2CBus3, addr)) {
- xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
- "VT1632A found on I2C Bus 3.\n");
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
+ "Will probe I2C Bus 3 for a possible "
+ "external TMDS transmitter.\n"));
pBus = pVia->pI2CBus3;
} else if (xf86I2CProbeAddress(pVia->pI2CBus2, addr)) {
- xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
- "VT1632A found on I2C Bus 2.\n");
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
+ "Will probe I2C Bus 2 for a possible "
+ "external TMDS transmitter.\n"));
pBus = pVia->pI2CBus2;
} else {
xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
- "VT1632A not found on I2C Bus 2 or I2C Bus 3.\n");
+ "Did not find a possible external TMDS transmitter "
+ "on I2C Bus 2 or I2C Bus 3.\n");
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Exiting via_dvi_init.\n"));
return;
@@ -950,7 +953,7 @@ via_dvi_init(ScrnInfoPtr pScrn)
pDev = xf86CreateI2CDevRec();
if (!pDev) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "Failed to create I2C bus structure.\n");
+ "Failed to create an I2C bus structure.\n");
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Exiting via_dvi_init.\n"));
return;
@@ -991,6 +994,9 @@ via_dvi_init(ScrnInfoPtr pScrn)
output->interlaceAllowed = FALSE;
output->doubleScanAllowed = FALSE;
}
+
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Exiting via_dvi_init.\n"));
}
void
commit 37d06773b7e2475e4362937d1b0f7db02244de7b
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Thu Mar 10 16:20:47 2016 -0800
Added debug messages to ViaOutputsDetect
Added debug messages to ViaOutputsDetect 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 9872b91..ed12fa7 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -993,16 +993,14 @@ via_dvi_init(ScrnInfoPtr pScrn)
}
}
-/*
- *
- */
void
ViaOutputsDetect(ScrnInfoPtr pScrn)
{
VIAPtr pVia = VIAPTR(pScrn);
VIABIOSInfoPtr pBIOSInfo = pVia->pBIOSInfo;
- DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "ViaOutputsDetect\n"));
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Entered ViaOutputsDetect.\n"));
pBIOSInfo->analog = NULL;
@@ -1012,10 +1010,14 @@ ViaOutputsDetect(ScrnInfoPtr pScrn)
/* VGA */
via_analog_init(pScrn);
+ /* TV */
via_tv_init(pScrn);
+ /* External TMDS Transmitter (DVI) */
via_dvi_init(pScrn);
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Exiting ViaOutputsDetect.\n"));
}
#ifdef HAVE_DEBUG
More information about the Openchrome-devel
mailing list