summaryrefslogtreecommitdiff
path: root/src/evergreen_textured_videofuncs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-02-16 15:07:35 -0500
committerAlex Deucher <alexdeucher@gmail.com>2011-02-16 15:19:16 -0500
commit0471d8412acd82e281a35fc4c6bb2d53b1ff5802 (patch)
tree378467b004b772b08309240642cece37bd14305f /src/evergreen_textured_videofuncs.c
parent4d7e1498f7d9eb50e2eddabca193fc27bde24f0e (diff)
kms: EXA/Xv tiling fixes
- properly set tiling flags for temp surfaces - fix CB non_disp_tiling bits on evergreen Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/evergreen_textured_videofuncs.c')
-rw-r--r--src/evergreen_textured_videofuncs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/evergreen_textured_videofuncs.c b/src/evergreen_textured_videofuncs.c
index 315e2bac..147cd4e0 100644
--- a/src/evergreen_textured_videofuncs.c
+++ b/src/evergreen_textured_videofuncs.c
@@ -441,8 +441,10 @@ EVERGREENDisplayTexturedVideo(ScrnInfoPtr pScrn, RADEONPortPrivPtr pPriv)
cb_conf.blend_clamp = 1;
cb_conf.pmask = 0xf;
cb_conf.rop = 3;
- if (accel_state->dst_obj.tiling_flags == 0)
+ if (accel_state->dst_obj.tiling_flags == 0) {
cb_conf.array_mode = 1;
+ cb_conf.non_disp_tiling = 1;
+ }
evergreen_set_render_target(pScrn, &cb_conf, accel_state->dst_obj.domain);
evergreen_set_spi(pScrn, (1 - 1), 1);