Commit c947bfe5 authored by Chris Wilson's avatar Chris Wilson 😣

igt/gem_busy: Actually flag the hang tests to cause a GPU hang

Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent 3e585fe1
......@@ -439,6 +439,8 @@ static void close_race(int fd)
munmap(handles, N_HANDLES * sizeof(*handles));
munmap(control, 4096);
gem_quiescent_gpu(fd);
}
static bool has_semaphores(int fd)
......@@ -691,7 +693,7 @@ igt_main
e->name) {
igt_require(gem_has_ring(fd, e->exec_id | e->flags));
gem_quiescent_gpu(fd);
basic(fd, e->exec_id | e->flags, 0);
basic(fd, e->exec_id | e->flags, HANG);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment