[Openchrome-devel] xf86-video-openchrome: src/via_display.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Fri Jan 6 10:19:56 UTC 2017
src/via_display.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 6f1191c56f31f6ed851ef28c1eca237eae994a4c
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Fri Jan 6 04:19:07 2017 -0600
Partial fix for save / restore functions
The fix is still not perfect, but not restoring 3X5.6A, 3X5.6B,
and 3X5.6C was the reason why the screen was getting messed up
when switching to virtual terminal.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_display.c b/src/via_display.c
index 9f3920a..d1ff972 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -3483,6 +3483,10 @@ viaIGA2Restore(ScrnInfoPtr pScrn)
hwp->writeCrtc(hwp, i + 0x62, Regs->CR[i + 0x62]);
}
+ hwp->writeCrtc(hwp, 0x6A, Regs->CR[0x6A]);
+ hwp->writeCrtc(hwp, 0x6B, Regs->CR[0x6B]);
+ hwp->writeCrtc(hwp, 0x6C, Regs->CR[0x6C]);
+
for (i = 0; i < (0x88 - 0x6D + 1); i++) {
hwp->writeCrtc(hwp, i + 0x6D, Regs->CR[i + 0x6D]);
}
More information about the Openchrome-devel
mailing list