summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/via_display.c4
-rw-r--r--src/via_outputs.c19
2 files changed, 6 insertions, 17 deletions
diff --git a/src/via_display.c b/src/via_display.c
index 4c588c8..0eb8b68 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -324,7 +324,7 @@ ViaFirstCRTCSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode)
ViaSeqMask(hwp, 0x16, 0x08, 0xBF);
ViaSeqMask(hwp, 0x17, 0x1F, 0xFF);
ViaSeqMask(hwp, 0x18, 0x4E, 0xFF);
- ViaSeqMask(hwp, 0x1A, 0x08, 0xFD);
+ ViaSeqMask(hwp, 0x1A, 0x08, 0xF9);
break;
}
@@ -594,7 +594,7 @@ ViaSecondCRTCSetMode(ScrnInfoPtr pScrn, DisplayModePtr mode)
ViaSeqMask(hwp, 0x16, 0x08, 0xBF);
ViaSeqMask(hwp, 0x17, 0x1F, 0xFF);
ViaSeqMask(hwp, 0x18, 0x4E, 0xFF);
- ViaSeqMask(hwp, 0x1A, 0x08, 0xFD);
+ ViaSeqMask(hwp, 0x1A, 0x08, 0xF9);
break;
}
diff --git a/src/via_outputs.c b/src/via_outputs.c
index 3aa8c97..c661a4f 100644
--- a/src/via_outputs.c
+++ b/src/via_outputs.c
@@ -1404,8 +1404,8 @@ ViaModePrimaryLegacy(xf86CrtcPtr crtc, DisplayModePtr mode)
pBIOSInfo->Clock = ViaModeDotClockTranslate(pScrn, mode);
pBIOSInfo->ClockExternal = FALSE;
- /* Enable MMIO & PCI burst (1 wait state) */
- ViaSeqMask(hwp, 0x1A, 0x06, 0x06);
+ /* Enable Extended Mode Memory Access. */
+ ViaSeqMask(hwp, 0x1A, 0x08, 0x08);
if (pBIOSInfo->analog->status == XF86OutputStatusConnected)
ViaCrtcMask(hwp, 0x36, 0x30, 0x30);
@@ -1523,19 +1523,8 @@ ViaModeFirstCRTC(ScrnInfoPtr pScrn, DisplayModePtr mode)
pBIOSInfo->Clock = ViaModeDotClockTranslate(pScrn, mode);
pBIOSInfo->ClockExternal = FALSE;
- /* Enable MMIO & PCI burst (1 wait state) */
- switch (pVia->Chipset) {
- case VIA_CLE266:
- case VIA_KM400:
- case VIA_K8M800:
- case VIA_PM800:
- case VIA_P4M800PRO:
- ViaSeqMask(hwp, 0x1A, 0x06, 0x06);
- break;
- default:
- ViaSeqMask(hwp, 0x1A, 0x0C, 0x0C);
- break;
- }
+ /* Enable Extended Mode Memory Access. */
+ ViaSeqMask(hwp, 0x1A, 0x08, 0x08);
ViaSetPrimaryFIFO(pScrn, mode);