diff options
Diffstat (limited to 'tests/gem_wait.c')
-rw-r--r-- | tests/gem_wait.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gem_wait.c b/tests/gem_wait.c index 61d8a405..7914c936 100644 --- a/tests/gem_wait.c +++ b/tests/gem_wait.c @@ -74,7 +74,9 @@ static void basic(int fd, unsigned engine, unsigned flags) IGT_CORK_HANDLE(cork); uint32_t plug = flags & (WRITE | AWAIT) ? igt_cork_plug(&cork, fd) : 0; - igt_spin_t *spin = igt_spin_batch_new(fd, 0, engine, plug); + igt_spin_t *spin = igt_spin_batch_new(fd, + .engine = engine, + .dependency = plug); struct drm_i915_gem_wait wait = { flags & WRITE ? plug : spin->handle }; |