summaryrefslogtreecommitdiff
path: root/lib/igt_dummyload.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-09-07 20:55:58 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-09-07 21:43:25 +0100
commitd5de89eb17938484718be1144f5957f05ab44dc2 (patch)
treee83ac07fcd819dcc43ce74464d139dc188791461 /lib/igt_dummyload.c
parente49c3feda5e379fbba58731b74beccb8f77a9b88 (diff)
lib/dummyload: Use -1 for all engines
Random change when it was copied broke the interface I am using, so bring it back into line with all the other stanzas to generate engine[]. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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 28744e0d..bb2be557 100644
--- a/lib/igt_dummyload.c
+++ b/lib/igt_dummyload.c
@@ -85,7 +85,7 @@ static void emit_recursive_batch(igt_spin_t *spin,
int i;
nengine = 0;
- if (engine < 0) {
+ if (engine == -1) {
for_each_engine(fd, engine)
if (engine)
engines[nengine++] = engine;