summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2008-07-31 17:01:44 -0700
committerAlex Deucher <alexdeucher@gmail.com>2008-08-25 06:25:10 -0400
commit286f7aa18f19bd21b263701adab38b736dbeda0f (patch)
tree13f596a72b15143ba9ba977b5a0935ee8d713e5e
parent242aa4f630b4c60aefa3c12dc459a4d4d0b334a0 (diff)
Enable bicubic filtering for all r5xx HW.
-rw-r--r--src/radeon_textured_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index aee081fc..cc13933b 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -389,9 +389,9 @@ RADEONSetTexPortAttribute(ScrnInfoPtr pScrn,
RADEON_SYNC(info, pScrn);
if (attribute == xvBicubic)
- /* -1 -> set default (disable for RV515 and punier) */
+ /* -1 -> set default */
pPriv->bicubic_enabled = (value == -1) ?
- (info->ChipFamily == CHIP_FAMILY_R580) : value;
+ (info->ChipFamily >= CHIP_FAMILY_RV515) : 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_RV515);
/* gotta uninit this someplace, XXX: shouldn't be necessary for textured */
REGION_NULL(pScreen, &pPriv->clip);