diff options
author | Luc Verhaegen <libv@skynet.be> | 2006-03-06 10:49:15 +0000 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2006-03-06 10:49:15 +0000 |
commit | e9b8c4909a83afc10ccc8f80e1abb4ca2a39a8de (patch) | |
tree | 3b0f51aec8600283c1307be82638038d49d3a082 | |
parent | 299f2dd769a9254c191ce57600328a2b3ecc952c (diff) |
[devel-fix_vt3122a_secondary_fifo_depth] When secondary fails, the primary
still thinks secondary is present. And the bandwidth code goes for
different fifosettings. Wrong fifo settings.
-rw-r--r-- | src/via_bandwidth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/via_bandwidth.c b/src/via_bandwidth.c index 425719e..6f6ef16 100644 --- a/src/via_bandwidth.c +++ b/src/via_bandwidth.c @@ -126,17 +126,17 @@ ViaSetPrimaryFIFO(ScrnInfoPtr pScrn, DisplayModePtr mode) VIAFUNC(pScrn->scrnIndex); /* standard values */ - ViaSeqMask(hwp, 0x17, 0x1F, 0xFF); + hwp->writeSeq(hwp, 0x17, 0x1F); if (mode->CrtcHDisplay >= 1600) { ViaSeqMask(hwp, 0x16, 0x0F, 0xBF); - ViaSeqMask(hwp, 0x18, 0x4F, 0xFF); + hwp->writeSeq(hwp, 0x18, 0x4F); } else if (mode->CrtcHDisplay >= 1024) { ViaSeqMask(hwp, 0x16, 0x0C, 0xBF); - ViaSeqMask(hwp, 0x18, 0x4C, 0xFF); + hwp->writeSeq(hwp, 0x18, 0x4C); } else { ViaSeqMask(hwp, 0x16, 0x08, 0xBF); - ViaSeqMask(hwp, 0x18, 0x4E, 0xFF); + hwp->writeSeq(hwp, 0x18, 0x4E); } switch(pVia->Chipset) { @@ -162,7 +162,7 @@ ViaSetPrimaryFIFO(ScrnInfoPtr pScrn, DisplayModePtr mode) ViaSetVT3122APrimaryFIFO(pScrn, TRUE); ViaSeqMask(hwp, 0x16, 0x17, 0x3F); /* 23 */ - hwp->writeSeq(hwp, 0x17, 0x2F); /* 47 */ + hwp->writeSeq(hwp, 0x17, 0x1F); /* orig: 0x2F */ hwp->writeSeq(hwp, 0x18, 0x57); /* 23 */ } |