Bug #11295: Disable textured video on i915 with framebuffer width too large.

This commit is contained in:
Eric Anholt 2007-06-18 11:57:48 -07:00
parent fbbb41bc5e
commit acef342c87
1 changed files with 3 additions and 1 deletions

View File

@ -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;