summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-12-31 15:57:32 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-12-31 16:26:39 +0000
commitf1995c684d2e074ae04c9e42727e59cc77e16104 (patch)
treee732453c647d4b0f59b605e46608813cefa0b776
parent511146d2e40e267f74e18c0dd06b65f5d6a69f5d (diff)
uxa: the video destination should be in the render write domain
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/i965_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_video.c b/src/i965_video.c
index a130f3d2..d14fb669 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -413,7 +413,7 @@ static void i965_create_dst_surface_state(ScrnInfoPtr scrn,
dest_surf_state.ss1.base_addr =
intel_emit_reloc(surf_bo, offset + offsetof(struct brw_surface_state, ss1),
- pixmap_bo, 0, I915_GEM_DOMAIN_SAMPLER, 0);
+ pixmap_bo, 0, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER);
dest_surf_state.ss2.height = pixmap->drawable.height - 1;
dest_surf_state.ss2.width = pixmap->drawable.width - 1;