drm/i915/selftests: Always use an active engine while resetting
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Feb 2019 22:48:05 +0000 (22:48 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 15 Feb 2019 09:37:31 +0000 (09:37 +0000)
commitc836eb79c033c2be13aa8b41729b28d2ab1f72ab
tree0c07cb93e84703e8372c1364e4f9b425b39b2fd3
parent9a3b19a16dc28ab717cf1663d09ffee0715b735a
drm/i915/selftests: Always use an active engine while resetting

Currently, we only try to reset a live engine for checking the whitelist
retention across a per-engine reset. For safety, it appears we need to
prime the system with a hanging spinner before performing a full-device
reset. (Figuring out the root cause behind the instability with handling
a reset during a no-op request is a challenge for another test, the
whitelist test has its own purpose.)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109626
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190213224805.32021-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
drivers/gpu/drm/i915/selftests/intel_workarounds.c