drm/i915/selftests: Wait longer for request to start

CI extremely sporadically (five times over last six months) reported
failures of igt@i915_selftest@live@hangcheck on ARL-S machines.  The
selftest was timing out while waiting up to 1 second for a request
supposed to trigger a GPU hang to be started.  It occurred possible to
reproduce this issue manually by running the selftest in a loop for a
few hours.

Among results from 5 occurrences reported by CI so far, and two manual
reproductions, two of them contained messages that suggested a
posssibility of the awaited request to actually start soon after
timeout.  With the timeout extended from 1 to 2 seconds, it occurred no
longer possible to trigger the failure, even when running the test in a
loop for 10, then for 12 hours, on the same machine where it was failing
before in 2-3 hours.

Assume the conditions that prevented the hang requests to start within 1
second were always transient, and 2 seconds is sufficient for those
requests to start effectively on machines in the CI environment.  Fix
the issue by using that value as the timeout.

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/work_items/16624
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Krzysztof Niemiec <krzysztof.niemiec@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patch.msgid.link/20260831093510.3496388-2-janusz.krzysztofik@linux.intel.com
This commit is contained in:
Janusz Krzysztofik 2026-08-31 11:33:08 +02:00 • committed by Andi Shyti
commit a9fab05df4
No known key found for this signature in database
GPG key ID: DA78056626D32D6E