[Openchrome-devel] xf86-video-openchrome: src/via_display.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Tue Apr 26 16:39:29 UTC 2016
src/via_display.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit 76d221b2a21d3a2948426e5022e0ecbb6e9fac8a
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Tue Apr 26 09:38:59 2016 -0700
Added debug messages to iga2_crtc_dpms
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 8dbfeea..9e841ec 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -1538,6 +1538,9 @@ iga2_crtc_dpms(xf86CrtcPtr crtc, int mode)
VIAPtr pVia = VIAPTR(pScrn);
VIABIOSInfoPtr pBIOSInfo = pVia->pBIOSInfo;
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Entered iga2_crtc_dpms.\n"));
+
switch (mode) {
case DPMSModeOn:
viaIGA2Screen(pScrn, TRUE);
@@ -1556,11 +1559,14 @@ iga2_crtc_dpms(xf86CrtcPtr crtc, int mode)
break;
default:
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Invalid DPMS mode %d\n",
+ xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Invalid DPMS mode: %d\n",
mode);
break;
}
//vgaHWSaveScreen(pScrn->pScreen, mode);
+
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Exiting iga2_crtc_dpms.\n"));
}
static void
More information about the Openchrome-devel
mailing list