diff options
author | Thomas Hellstrom <unichrome@shipmail.org> | 2006-02-22 15:07:40 +0000 |
---|---|---|
committer | Thomas Hellstrom <unichrome@shipmail.org> | 2006-02-22 15:07:40 +0000 |
commit | 6611b34cd5b56b4ad786e6cada872ceaf2b7b6c4 (patch) | |
tree | 5f69659a44f2f36a634328b3ed6ade0a27167c2a | |
parent | 559978f889752db768641750283ff34737e5b1d3 (diff) |
Import Luc's fix for sometimes-blanking CRTs. (Luc Verhaegen)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/via_mode.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2006-02-22 Thomas Hellstrom <thomas-at-tungstengraphics.com> + * src/via_mode.c: (ViaModePrimary): + Import Luc's fix for sometimes-blanking CRTs. (Luc Verhaegen) + +2006-02-22 Thomas Hellstrom <thomas-at-tungstengraphics.com> + * src/via_driver.c: (VIAScreenInit): * src/via_mode.c: (ViaModePrimary): * src/via_vbe.c: (ViaVbeSetMode): diff --git a/src/via_mode.c b/src/via_mode.c index d2d3e78..339daae 100644 --- a/src/via_mode.c +++ b/src/via_mode.c @@ -1648,6 +1648,8 @@ ViaModePrimary(ScrnInfoPtr pScrn, DisplayModePtr mode) if (!pBIOSInfo->CrtActive) ViaCrtcMask(hwp, 0x36, 0x30, 0x30); + else + ViaSeqMask(hwp, 0x16, 0x00, 0x40); if (pBIOSInfo->PanelActive && ViaPanelGetIndex(pScrn, mode)) { VIASetLCDMode(pScrn, mode); |