drm/sched: Make timeout KUnit tests faster
authorMaíra Canal <mcanal@igalia.com>
Mon, 14 Jul 2025 22:07:04 +0000 (19:07 -0300)
committerMaíra Canal <mcanal@igalia.com>
Tue, 15 Jul 2025 11:27:07 +0000 (08:27 -0300)
commit9b9b5a3605b9a5ef1d412e47b2ae70090c8d3580
tree08bae17dc613eec3d499f0397d0a944f1a738135
parent0b1217bfdfddf664c15954d1d51ee18ed88a2ccf
drm/sched: Make timeout KUnit tests faster

As more KUnit tests are introduced to evaluate the basic capabilities of
the `timedout_job()` hook, the test suite will continue to increase in
duration. To reduce the overall running time of the test suite, decrease
the scheduler's timeout for the timeout tests.

Before this commit:

[15:42:26] Elapsed time: 15.637s total, 0.002s configuring, 10.387s building, 5.229s running

After this commit:

[15:45:26] Elapsed time: 9.263s total, 0.002s configuring, 5.168s building, 4.037s running

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Acked-by: Philipp Stanner <phasta@kernel.org>
Link: https://lore.kernel.org/r/20250714-sched-skip-reset-v6-3-5c5ba4f55039@igalia.com
Signed-off-by: Maíra Canal <mcanal@igalia.com>
drivers/gpu/drm/scheduler/tests/tests_basic.c