diff options
author | Dave Airlie <airlied@redhat.com> | 2008-11-10 15:47:13 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-11-10 15:47:13 +1000 |
commit | 3d27876d91ef69d71f17b6cf8c07c26bf12857b4 (patch) | |
tree | 23420ce37ffb84bd1016c5c9ee5b2362771a7dd2 /src/radeon_textured_video.c | |
parent | 6c8b352264540ccc4622a7c0b704ce452dcd707d (diff) |
radeon: always align dstPitch to 64 bytes for textured video
bz# 18454
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r-- | src/radeon_textured_video.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c index c185b460..35b332b5 100644 --- a/src/radeon_textured_video.c +++ b/src/radeon_textured_video.c @@ -188,13 +188,7 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn, break; } -#ifdef XF86DRI - if (info->directRenderingEnabled && info->DMAForXv) - /* The upload blit only supports multiples of 64 bytes */ - dstPitch = (dstPitch + 63) & ~63; - else -#endif - dstPitch = (dstPitch + 15) & ~15; + dstPitch = (dstPitch + 63) & ~63; if (pPriv->video_memory != NULL && size != pPriv->size) { radeon_legacy_free_memory(pScrn, pPriv->video_memory); |