From acef342c870f3b5b781e48c8bf44739aa5ee8ffa Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 18 Jun 2007 11:57:48 -0700 Subject: Bug #11295: Disable textured video on i915 with framebuffer width too large. --- src/i830_video.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/i830_video.c b/src/i830_video.c index 1ee43dd8..43e25bbb 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -569,7 +569,9 @@ I830InitVideo(ScreenPtr pScreen) /* Set up textured video if we can do it at this depth and we are on * supported hardware. */ - if (pScrn->bitsPerPixel >= 16 && (IS_I9XX(pI830) || IS_I965G(pI830))) { + if (pScrn->bitsPerPixel >= 16 && (IS_I9XX(pI830) || IS_I965G(pI830)) && + !(!IS_I965G(pI830) && pScrn->displayWidth > 2048)) + { texturedAdaptor = I830SetupImageVideoTextured(pScreen); if (texturedAdaptor != NULL) { adaptors[num_adaptors++] = texturedAdaptor; -- cgit v1.2.3