Commit 75081c6b authored by Chris Wilson's avatar Chris Wilson

i915/gem_busy: Use a non-preemptible hanging batch

Ensure that the hangcheck notices the hanging batch by using a
non-preemptible spin batch, as some future versions of hangcheck may
allow a preemptible GPU hog to survive.
Signed-off-by: Chris Wilson's avatarChris Wilson <>
Reviewed-by: default avatarMika Kuoppala <>
parent 0ba18cf7
Pipeline #13685 passed with stages
in 3 minutes and 15 seconds
......@@ -427,7 +427,10 @@ static bool has_extended_busy_ioctl(int fd)
static void basic(int fd, unsigned ring, unsigned flags)
igt_spin_t *spin = igt_spin_batch_new(fd, .engine = ring);
igt_spin_t *spin =
.engine = ring,
struct timespec tv;
int timeout;
bool busy;
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