summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-15 17:50:57 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-15 17:50:57 +0100
commit27d1cef2d32cf1ef6904e672152364240d634ef8 (patch)
tree41e9cf3640f1f10ad8fe1b1a32c19c1c131e6098 /tests
parent1d16f7934df06d4b4feee083096575ef0c4f2340 (diff)
tests: fixup storedw tests
We need to use _INSTRUCTION as the reloc domain because otherwise the ppgtt pipe_control w/a for snb won't kick in and the test fails. The storedw tests for blt and bsd are still disabled because the corresponding patch to flag ppgtt support isn't merged upstream yet. Without ppgtt these hang my snb here. Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_storedw_loop_blt.c4
-rw-r--r--tests/gem_storedw_loop_bsd.c4
-rw-r--r--tests/gem_storedw_loop_render.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/gem_storedw_loop_blt.c b/tests/gem_storedw_loop_blt.c
index c67c2b3b..88b12d37 100644
--- a/tests/gem_storedw_loop_blt.c
+++ b/tests/gem_storedw_loop_blt.c
@@ -62,8 +62,8 @@ store_dword_loop(void)
BEGIN_BATCH(4);
OUT_BATCH(cmd);
OUT_BATCH(0); /* reserved */
- OUT_RELOC(target_buffer, I915_GEM_DOMAIN_RENDER,
- I915_GEM_DOMAIN_RENDER, 0);
+ OUT_RELOC(target_buffer, I915_GEM_DOMAIN_INSTRUCTION,
+ I915_GEM_DOMAIN_INSTRUCTION, 0);
OUT_BATCH(val);
ADVANCE_BATCH();
diff --git a/tests/gem_storedw_loop_bsd.c b/tests/gem_storedw_loop_bsd.c
index 91e4e592..09351e2f 100644
--- a/tests/gem_storedw_loop_bsd.c
+++ b/tests/gem_storedw_loop_bsd.c
@@ -62,8 +62,8 @@ store_dword_loop(void)
BEGIN_BATCH(4);
OUT_BATCH(cmd);
OUT_BATCH(0); /* reserved */
- OUT_RELOC(target_buffer, I915_GEM_DOMAIN_RENDER,
- I915_GEM_DOMAIN_RENDER, 0);
+ OUT_RELOC(target_buffer, I915_GEM_DOMAIN_INSTRUCTION,
+ I915_GEM_DOMAIN_INSTRUCTION, 0);
OUT_BATCH(val);
ADVANCE_BATCH();
diff --git a/tests/gem_storedw_loop_render.c b/tests/gem_storedw_loop_render.c
index b3d7df26..b3b74173 100644
--- a/tests/gem_storedw_loop_render.c
+++ b/tests/gem_storedw_loop_render.c
@@ -62,8 +62,8 @@ store_dword_loop(void)
BEGIN_BATCH(4);
OUT_BATCH(cmd);
OUT_BATCH(0); /* reserved */
- OUT_RELOC(target_buffer, I915_GEM_DOMAIN_RENDER,
- I915_GEM_DOMAIN_RENDER, 0);
+ OUT_RELOC(target_buffer, I915_GEM_DOMAIN_INSTRUCTION,
+ I915_GEM_DOMAIN_INSTRUCTION, 0);
OUT_BATCH(val);
ADVANCE_BATCH();