summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Bachelot <xavier@bachelot.org>2008-03-15 02:17:07 +0000
committerXavier Bachelot <xavier@bachelot.org>2008-03-15 02:17:07 +0000
commit4c63fd73aae2285c957b7bb93ff4e4a5c1543fa4 (patch)
tree62c09028b143ca6e4338f795da279988e1dd7e9a
parente445fd5b1973e4c69b0bb2c988711abc989118bc (diff)
yet another tiny sync with randr
-rw-r--r--src/via_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/via_driver.c b/src/via_driver.c
index 74243ea227c7..2234790ad28a 100644
--- a/src/via_driver.c
+++ b/src/via_driver.c
@@ -1665,7 +1665,7 @@ VIAPreInit(ScrnInfoPtr pScrn, int flags)
* Max Height: 4096 (and beyond)
*
* CLE266A: primary AdjustFrame can use only 24 bits, so we are limited
- * to 12x11 bits; 4080x2048 (~2:1), 3344x2508 (4:3), or 2896x2896 (1:1).
+ * to 12x11 bits; 4080x2048 (~2:1), 3344x2508 (4:3) or 2896x2896 (1:1).
* Test CLE266Cx, KM400, KM400A, K8M800, PM800, CN400 please.
*
* We should be able to limit the memory available for a mode to 32 MB,
@@ -3081,6 +3081,7 @@ VIAInitialize3DEngine(ScrnInfoPtr pScrn)
VIASETREG(VIA_REG_TRANSPACE, 0x64000000);
VIASETREG(VIA_REG_TRANSET, 0x00fe0000);
+
if (pVia->Chipset == VIA_CLE266 && pVia->ChipRev >= 3)
VIASETREG(VIA_REG_TRANSPACE, 0x40008c0f);
else