summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/i915/gem_tiled_fence_blits.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/i915/gem_tiled_fence_blits.c b/tests/i915/gem_tiled_fence_blits.c
index 5c1e1a68..c02e35a5 100644
--- a/tests/i915/gem_tiled_fence_blits.c
+++ b/tests/i915/gem_tiled_fence_blits.c
@@ -141,6 +141,8 @@ static void run_test(int fd, int count)
memset(reloc, 0, sizeof(reloc));
memset(obj, 0, sizeof(obj));
+ obj[0].flags = EXEC_OBJECT_NEEDS_FENCE;
+ obj[1].flags = EXEC_OBJECT_NEEDS_FENCE;
obj[2].handle = create_batch(fd, reloc);
obj[2].relocs_ptr = to_user_pointer(reloc);
obj[2].relocation_count = ARRAY_SIZE(reloc);