[Openchrome-devel] xf86-video-openchrome: src/via_display.c
Kevin Brace
kevinbrace at kemper.freedesktop.org
Fri Jan 6 10:21:43 UTC 2017
src/via_display.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit f6b06ec8aab825eb5bdc65d27f8ebecb557a3919
Author: Kevin Brace <kevinbrace at gmx.com>
Date: Fri Jan 6 04:20:25 2017 -0600
Minor adjustments to viaIGA1Restore function
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
diff --git a/src/via_display.c b/src/via_display.c
index d1ff972..771c38a 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -2302,11 +2302,14 @@ viaIGA1Restore(ScrnInfoPtr pScrn)
vgaHWProtect(pScrn, TRUE);
+ vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_ALL);
+
+ DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
+ "Restoring sequencer registers.\n"));
+
/* Unlock extended registers. */
hwp->writeSeq(hwp, 0x10, 0x01);
- vgaHWRestore(pScrn, &hwp->SavedReg, VGA_SR_ALL);
-
hwp->writeSeq(hwp, 0x15, Regs->SR[0x15]);
ViaSeqMask(hwp, 0x16, Regs->SR[0x16], 0xBF);
hwp->writeSeq(hwp, 0x17, Regs->SR[0x17]);
More information about the Openchrome-devel
mailing list