src/via_display.c | 4 ++++ 1 file changed, 4 insertions(+) New commits: commit 6f1191c56f31f6ed851ef28c1eca237eae994a4c Author: Kevin Brace <kevinbr...@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 <kevinbr...@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]); } _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel