diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-07-14 13:11:12 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-07-14 13:11:12 -0400 |
commit | 0485f27bc3d75cb6ab320e8164dbe6ea2713c78e (patch) | |
tree | 422f2af7c879c0aac62b5785c1b3ba558aafa11b /src/radeon_textured_video.c | |
parent | ca4a9efef987108266ae59afbb5142d4d2000c8e (diff) |
R3/4/5xx: fix bicubic Xv filtering with KMS changes
fixes bug 22730
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index 10414b91..617f359f 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -336,7 +336,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, pPriv->bicubic_offset = radeon_legacy_allocate_memory(pScrn, &pPriv->bicubic_memory, sizeof(bicubic_tex_512), 64); - pPriv->bicubic_src_offset = pPriv->bicubic_offset + info->fbLocation + pScrn->fbOffset; + pPriv->bicubic_src_offset = pPriv->bicubic_offset; if (pPriv->bicubic_offset == 0) pPriv->bicubic_enabled = FALSE; @@ -458,7 +458,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, ret = radeon_bo_map(pPriv->bicubic_bo, 1); if (ret) return BadAlloc; - + bicubic_addr = pPriv->bicubic_bo->ptr; } else bicubic_addr = (uint8_t *)(info->FB + pPriv->bicubic_offset); |