drm/i915/selftests: Trim execlists runtime
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Jun 2020 22:20:45 +0000 (23:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 13 Jun 2020 09:24:26 +0000 (10:24 +0100)
commitd4b02a4c613e82a4c47bf9dd228c38a2c3c1a6d2
treede643855d6dea2bafa74622307ce81b356f36fca
parent3d09677a07f017c42c80d04ba70ef23d7499fc46
drm/i915/selftests: Trim execlists runtime

Reduce the smoke depth by trimming the number of contexts, repetitions
and wait times. This is in preparation for a less greedy scheduler that
tries to be fair across contexts, resulting in a great many more context
switches. A thousand context switches may be 50-100ms, causing us to
timeout as the HW is not fast enough to complete the deep smoketests.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200607222108.14401-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c
drivers/gpu/drm/i915/selftests/igt_spinner.c