From b25dc6cba42cd86da54c6ecfd92c29b2a9f2e25d Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Fri, 29 Aug 2008 11:23:28 -0400 Subject: [PATCH] Enable EXA 2D acceleration for large framebuffers on G33 For G33-class hardware, set maxX and maxY to 8192; this hardware can handle large render sources and targets for 2D acceleration, and the EXA code that uses the 3D engine already has it's own separate checks. --- src/i830_exa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/i830_exa.c b/src/i830_exa.c index 2c807c5..2e6fb29 100644 --- a/src/i830_exa.c +++ b/src/i830_exa.c @@ -510,7 +510,7 @@ I830EXAInit(ScreenPtr pScreen) * the front, which will have an appropriate pitch/offset already set up, * so EXA doesn't need to worry. */ - if (IS_I965G(pI830)) { + if (IS_I965G(pI830) || IS_G33CLASS(pI830)) { pI830->EXADriverPtr->pixmapOffsetAlign = 4 * 2; pI830->EXADriverPtr->pixmapPitchAlign = 16; pI830->EXADriverPtr->maxX = 8192; -- 1.5.5.1