summaryrefslogtreecommitdiff
path: root/src/radeon_textured_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_textured_video.c')
-rw-r--r--src/radeon_textured_video.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/radeon_textured_video.c b/src/radeon_textured_video.c
index 33405df5..f2c8f6aa 100644
--- a/src/radeon_textured_video.c
+++ b/src/radeon_textured_video.c
@@ -284,9 +284,12 @@ RADEONPutImageTextured(ScrnInfoPtr pScrn,
}
#ifdef XF86DRM_MODE
- if (info->cs)
- pPriv->hw_align = drmmode_get_base_align(pScrn, 2, 0);
- else
+ if (info->cs) {
+ if (info->ChipFamily >= CHIP_FAMILY_R600)
+ pPriv->hw_align = drmmode_get_base_align(pScrn, 2, 0);
+ else
+ pPriv->hw_align = 64;
+ } else
#endif
{
if (info->ChipFamily >= CHIP_FAMILY_R600)