summaryrefslogtreecommitdiff
path: root/tests/gem_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_sync.c')
-rw-r--r--tests/gem_sync.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/gem_sync.c b/tests/gem_sync.c
index 1e2e089a..2fcb9aa0 100644
--- a/tests/gem_sync.c
+++ b/tests/gem_sync.c
@@ -715,9 +715,8 @@ preempt(int fd, unsigned ring, int num_children, int timeout)
do {
igt_spin_t *spin =
__igt_spin_batch_new(fd,
- ctx[0],
- execbuf.flags,
- 0);
+ .ctx = ctx[0],
+ .engine = execbuf.flags);
do {
gem_execbuf(fd, &execbuf);