summaryrefslogtreecommitdiff
path: root/lib/igt_dummyload.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_dummyload.c')
-rw-r--r--lib/igt_dummyload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c
index 2d05594a..68efcbf9 100644
--- a/lib/igt_dummyload.c
+++ b/lib/igt_dummyload.c
@@ -109,7 +109,7 @@ static uint32_t emit_recursive_batch(int fd, int engine, unsigned dep_handle)
gem_set_domain(fd, handle,
I915_GEM_DOMAIN_GTT, I915_GEM_DOMAIN_GTT);
- if (dep_handle > 0) {
+ if (nengine == 1 && dep_handle > 0) {
fill_object(&obj[buf_count], dep_handle, NULL, 0);
buf_count++;