From 4dc95bf62aa8305d50167331066c863f3ec7b2e3 Mon Sep 17 00:00:00 2001 From: Thomas Hellström Date: Tue, 5 Dec 2006 12:55:23 +0000 Subject: Use a more aggressive fifo setting for CLE266 Cx. Boosts performance. Please report problems with this. --- ChangeLog | 8 ++++++++ unichrome/via_bandwidth.c | 6 ++++-- 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 + + * 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 * 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 { -- cgit v1.2.3