summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-06-30 10:42:41 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2009-06-30 11:12:12 +0800
commit150c9adebc0b502f19c970783f411928e5a5c3b1 (patch)
treefe58885596934351be69b47aafd46ce8a1c855ae /src
parent7770958e42d60966d95702e75c704e20ae2d90dd (diff)
Xv: fix domain usage for binding table on i965+ chips
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'src')
-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 012799be..805b33f4 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -857,7 +857,7 @@ i965_emit_video_setup(ScrnInfoPtr pScrn, drm_intel_bo *bind_bo, int n_src_surf)
OUT_BATCH(0); /* clip */
OUT_BATCH(0); /* sf */
/* Only the PS uses the binding table */
- OUT_RELOC(bind_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
+ OUT_RELOC(bind_bo, I915_GEM_DOMAIN_SAMPLER, 0, 0);
/* Blend constant color (magenta is fun) */
OUT_BATCH(BRW_3DSTATE_CONSTANT_COLOR | 3);