[Openchrome-devel] xf86-video-openchrome: src/via_display.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Wed Jun 1 03:47:44 UTC 2016
src/via_display.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 5243e4533c01a1208dd684ea26e04f925816f38e
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Tue May 31 20:29:32 2016 -0700
IGA1 vertical blank start should not have 1 subtracted from it
After thinking about IGA1 vertical blank start, it should not have
a value of 1 subtracted from it.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_display.c b/src/via_display.c
index 1975dfe..cf393a0 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -812,11 +812,9 @@ viaIGA1SetDisplayRegister(ScrnInfoPtr pScrn, DisplayModePtr mode)
/* Set IGA1 vertical blank start. */
- /* Vertical blank start requires the value to be 1 less
- * than the actual value being written. */
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"IGA1 CrtcVBlankStart: %d\n", mode->CrtcVBlankStart));
- temp = mode->CrtcVBlankStart - 1;
+ temp = mode->CrtcVBlankStart;
/* 3X5.15[7:0] - Vertical Blanking Start Bits [7:0] */
hwp->writeCrtc(hwp, 0x15, temp & 0xFF);
More information about the Openchrome-devel
mailing list