Commit e0e24a67 authored by Chris Wilson's avatar Chris Wilson 🤔

lib: Only require we have i915.reset module parameter for allow-hang

To control hang detection, we manipulate the i915.reset module
parameter. However, to be nice we should SKIP if we cannot modify the
parameter as opposed to outright FAILing.

References: Chris Wilson's avatarChris Wilson <>
Reviewed-by: Antonio Argenziano's avatarAntonio Argenziano <>
parent e5088c82
......@@ -176,8 +176,8 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags)
if (!igt_check_boolean_env_var("IGT_HANG_WITHOUT_RESET", false))
(fd, "reset", "%d", INT_MAX /* any reset method */));
(fd, "reset", "%d", INT_MAX /* any reset method */));
if ((flags & HANG_ALLOW_CAPTURE) == 0) {
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