]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd96547ca0bacd7428ade99c9b62137cdb2ae81d
tree1f48b559622ca8b67deeb05842c371caea5c9594
parente993faf32b46d89cc61cfd571a4b73601ed41e80
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