summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-07-30 11:57:25 -0700
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 06:23:23 -0400
commit17e5e9573e59c3d82d51c261b9c5005f6aec7d43 (patch)
tree4c9fd7eff4187db33238f62f8b6b8afed19eff6c
parent83b52473d0e7102265918b07be053fcda17a14b4 (diff)
Force R580-only for bicubic.
Initial reading of docs suggest RV560 and RV570 can't handle it, but they're welcome to test.
-rw-r--r--src/radeon_textured_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 366a254e..1a822e00 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -391,7 +391,7 @@ RADEONSetTexPortAttribute(ScrnInfoPtr pScrn,
if (attribute == xvBicubic)
/* -1 -> set default (disable for RV515 and punier) */
pPriv->bicubic_enabled = (value == -1) ?
- (info->ChipFamily >= CHIP_FAMILY_R580) : value;
+ (info->ChipFamily == CHIP_FAMILY_R580) : value;
else
return BadMatch;
@@ -454,7 +454,7 @@ RADEONSetupImageTexturedVideo(ScreenPtr pScreen)
pPriv->videoStatus = 0;
pPriv->currentBuffer = 0;
pPriv->doubleBuffer = 0;
- pPriv->bicubic_enabled = (info->ChipFamily >= CHIP_FAMILY_R580);
+ pPriv->bicubic_enabled = (info->ChipFamily == CHIP_FAMILY_R580);
/* gotta uninit this someplace, XXX: shouldn't be necessary for textured */
REGION_NULL(pScreen, &pPriv->clip);