xf86-video-intel: Branch 'xf86-video-intel-2.3-branch' - src/i830_exa.c
Zhenyu Wang
zhen at kemper.freedesktop.org
Thu Apr 17 02:10:12 PDT 2008
src/i830_exa.c | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 602613e397bdf0cf701a6a7748f9343875864466
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date: Thu Apr 17 16:55:47 2008 +0800
Set EXA pitch limit for pre-965 chipset
diff --git a/src/i830_exa.c b/src/i830_exa.c
index 9b5bb93..9e43bf7 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -510,11 +510,17 @@ I830EXAInit(ScreenPtr pScreen)
pI830->EXADriverPtr->pixmapPitchAlign = 16;
pI830->EXADriverPtr->maxX = 8192;
pI830->EXADriverPtr->maxY = 8192;
+ /* maxPitch setting not necessary on 965, as hw support
+ * exa max pitch 128KB. */
} else {
pI830->EXADriverPtr->pixmapOffsetAlign = 4;
pI830->EXADriverPtr->pixmapPitchAlign = 16;
pI830->EXADriverPtr->maxX = 2048;
pI830->EXADriverPtr->maxY = 2048;
+#if EXA_VERSION_MINOR >= 3
+ pI830->EXADriverPtr->maxPitchPixels = pI830->EXADriverPtr->maxX;
+ pI830->EXADriverPtr->maxPitchBytes = KB(8);
+#endif
}
/* Sync */
More information about the xorg-commit
mailing list