drm/i915: Issue engine resets onto idle engines
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Jan 2019 13:22:30 +0000 (13:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Jan 2019 14:27:30 +0000 (14:27 +0000)
commit9b974bde4d4ad44c0458f922373340d54cb0452c
tree1f48b559622ca8b67deeb05842c371caea5c9594
parentf3dccbdbdd94a3b255f9661df6048c4a6e372db0
drm/i915: Issue engine resets onto idle engines

Always perform the requested reset, even if we believe the engine is
idle. Presumably there was a reason the caller wanted the reset, and in
the near future we lose the easy tracking for whether the engine is
idle.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190125132230.22221-5-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_reset.c
drivers/gpu/drm/i915/selftests/intel_hangcheck.c