summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellström <thomas@shipmail.org>2006-12-05 12:55:23 +0000
committerThomas Hellström <thomas@shipmail.org>2006-12-05 12:55:23 +0000
commit4dc95bf62aa8305d50167331066c863f3ec7b2e3 (patch)
tree7bb053b30059e5fefa91dcae0822f554f5e70011
parentfbe3403e5211e6bc8c93753c7e6377424604cbe4 (diff)
Use a more aggressive fifo setting for CLE266 Cx.
Boosts performance. Please report problems with this.
-rw-r--r--ChangeLog8
-rw-r--r--unichrome/via_bandwidth.c6
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e7166b1..15920a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 {