summaryrefslogtreecommitdiff
path: root/src/r128_driver.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:40 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-02-17 22:44:40 +0000
commite5ba473d7580881bc6baf6ed8622c73a1392df4b (patch)
tree5554305ff8319577292daab391f427ff695d952a /src/r128_driver.c
parentdbeb8d28ac3469f4a7d7d8dae979ae876d4cdcba (diff)
Diffstat (limited to 'src/r128_driver.c')
-rw-r--r--src/r128_driver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 8167d00c..c5dec60a 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1640,7 +1640,11 @@ static Bool R128PreInitModes(ScrnInfoPtr pScrn)
NULL, /* linePitches */
8 * 64, /* minPitch */
8 * 1024, /* maxPitch */
- 8 * 64, /* pitchInc */
+/*
+ * ATI docs say pitchInc must be 8 * 64, but this doesn't permit a pitch of
+ * 800 bytes, which is known to work on the Rage128 LF on clamshell iBooks
+ */
+ 8 * 32, /* pitchInc */
128, /* minHeight */
2048, /* maxHeight */
pScrn->display->virtualX,