diff options
author | Thomas Hellström <thomas@shipmail.org> | 2006-12-05 12:55:23 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@shipmail.org> | 2006-12-05 12:55:23 +0000 |
commit | 4dc95bf62aa8305d50167331066c863f3ec7b2e3 (patch) | |
tree | 7bb053b30059e5fefa91dcae0822f554f5e70011 | |
parent | fbe3403e5211e6bc8c93753c7e6377424604cbe4 (diff) |
Use a more aggressive fifo setting for CLE266 Cx.
Boosts performance.
Please report problems with this.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | unichrome/via_bandwidth.c | 6 |
2 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2006-12-05 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> + + * unichrome/via_bandwidth.c: (ViaSetPrimaryFIFO): + + Use a more aggressive fifo setting for CLE266 Cx. + Boosts performance. + Please report problems with this. + 2006-12-01 Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> * unichrome/via.man: diff --git a/unichrome/via_bandwidth.c b/unichrome/via_bandwidth.c index 9c76e99..569d4f5 100644 --- a/unichrome/via_bandwidth.c +++ b/unichrome/via_bandwidth.c @@ -146,15 +146,17 @@ ViaSetPrimaryFIFO(ScrnInfoPtr pScrn, DisplayModePtr mode) if (mode->HDisplay >= 1024) { ViaSeqMask(hwp, 0x16, 0x1C, 0x3F); /* 28 */ hwp->writeSeq(hwp, 0x17, 0x3F); /* 63 */ + hwp->writeSeq(hwp, 0x18, 0x57); /* 23 */ } } else { /* Single view or Simultaneous case */ +#if 0 if (mode->HDisplay > 1024) { ViaSeqMask(hwp, 0x16, 0x17, 0x3F); /* 23 */ hwp->writeSeq(hwp, 0x17, 0x2F); /* 47 */ + hwp->writeSeq(hwp, 0x18, 0x57); /* 23 */ } +#endif } - hwp->writeSeq(hwp, 0x18, 0x57); /* 23 */ - /* originally when setting secondary */ ViaSetPrimaryExpireNumber(pScrn, mode, CLE266CExpireNumber); } else { |