summaryrefslogtreecommitdiff
path: root/tests/gem_wait_render_timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_wait_render_timeout.c')
-rw-r--r--tests/gem_wait_render_timeout.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gem_wait_render_timeout.c b/tests/gem_wait_render_timeout.c
index fd2f8a4a..0a833f72 100644
--- a/tests/gem_wait_render_timeout.c
+++ b/tests/gem_wait_render_timeout.c
@@ -120,9 +120,7 @@ static void blt_color_fill(struct intel_batchbuffer *batch,
OUT_BATCH(0);
OUT_BATCH(width << 16 |
height);
- OUT_RELOC(buf, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);
- if (intel_gen(batch->devid) >= 8)
- OUT_BATCH(0);
+ OUT_RELOC_FENCED(buf, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);
OUT_BATCH(rand()); /* random pattern */
ADVANCE_BATCH();
}