[Openchrome-devel] xf86-video-openchrome: src/via_display.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Fri May 20 03:48:49 UTC 2016
src/via_display.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 2d4067621722c7755351665ae436657c865c0abd
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Thu May 19 20:46:27 2016 -0700
Added debug messages to viaIGA1SetDisplayRegister
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 bc68147..db61209 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -358,9 +358,11 @@ viaIGA1SetDisplayRegister(ScrnInfoPtr pScrn, DisplayModePtr mode)
VIAPtr pVia = VIAPTR(pScrn);
CARD16 temp;
- DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "viaIGA1SetDisplayRegister\n"));
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Entered viaIGA1SetDisplayRegister.\n"));
- DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Setting up %s\n", mode->name));
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "IGA1 Requested Screen Mode: %s\n", mode->name);
ViaCrtcMask(hwp, 0x11, 0x00, 0x80); /* modify starting address */
ViaCrtcMask(hwp, 0x03, 0x80, 0x80); /* enable vertical retrace access */
@@ -554,6 +556,9 @@ viaIGA1SetDisplayRegister(ScrnInfoPtr pScrn, DisplayModePtr mode)
ViaCrtcMask(hwp, 0x33, 0, 0xC8);
break;
}
+
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Exiting viaIGA1SetDisplayRegister.\n"));
}
void
More information about the Openchrome-devel
mailing list