xf86-video-ati: Branch 'master'
Alex Deucher
agd5f at kemper.freedesktop.org
Mon Mar 24 22:39:55 PDT 2008
src/radeon_video.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
New commits:
commit 8b144830fe9b4a0cee4745023de5e7d387070f60
Author: Alex Deucher <alex at samba.(none)>
Date: Tue Mar 25 01:15:05 2008 -0400
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.
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 555186a..216cd65 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);
More information about the xorg-commit
mailing list