[Intel-gfx] [PATCH igt] lib/igt_dummyload: Use -1 for all engines

Chris Wilson chris at chris-wilson.co.uk
Thu Sep 7 19:57:13 UTC 2017


Random change when it copied broke the interface I was using.

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 lib/igt_dummyload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c
index c3516b96..d19b4e5e 100644
--- a/lib/igt_dummyload.c
+++ b/lib/igt_dummyload.c
@@ -86,7 +86,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;
-- 
2.14.1



More information about the Intel-gfx mailing list