From 8b144830fe9b4a0cee4745023de5e7d387070f60 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 25 Mar 2008 01:15:05 -0400 Subject: RV250: disable textured video due to HW bug The YUV->RGB conversion in the texture engine is broken on RV250 so the colors come out wrong. --- src/radeon_video.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/radeon_video.c b/src/radeon_video.c index 555186a5..216cd658 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -285,12 +285,15 @@ void RADEONInitVideo(ScreenPtr pScreen) RADEONInitOffscreenImages(pScreen); } - texturedAdaptor = RADEONSetupImageTexturedVideo(pScreen); - if (texturedAdaptor != NULL) { - adaptors[num_adaptors++] = texturedAdaptor; - xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n"); + if (info->ChipFamily != CHIP_FAMILY_RV250) { + texturedAdaptor = RADEONSetupImageTexturedVideo(pScreen); + if (texturedAdaptor != NULL) { + adaptors[num_adaptors++] = texturedAdaptor; + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n"); + } else + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Failed to set up textured video\n"); } else - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Failed to set up textured video\n"); + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Textured video disabled on RV250 due to HW bug\n"); if(num_adaptors) xf86XVScreenInit(pScreen, adaptors, num_adaptors); -- cgit v1.2.3