diff options
author | Alex Deucher <alex@samba.(none)> | 2008-03-25 01:15:05 -0400 |
---|---|---|
committer | Alex Deucher <alex@samba.(none)> | 2008-03-25 01:15:05 -0400 |
commit | 8b144830fe9b4a0cee4745023de5e7d387070f60 (patch) | |
tree | 2d4e3da4e3f2f2561b97accbf9e94837ff48b69a | |
parent | 1789f11ab91633d3928f8b71988d51ff44bda9d1 (diff) |
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.
-rw-r--r-- | src/radeon_video.c | 13 |
1 files changed, 8 insertions, 5 deletions
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); |