]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable hangcheck when wedged
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Nov 2016 14:41:19 +0000 (14:41 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Nov 2016 17:42:17 +0000 (17:42 +0000)
commiteeee7f91fa7959f751cb6aee6529f480366f8890
tree534c68a6615b4c5817ed0bbe3a9aeba1ce9b84f9
parent52d94bd2310b21a15ccd53a169aa7d66a67b3b53
drm/i915: Disable hangcheck when wedged

If the gpu reset fails and the machine is terminally wedged, further
hangchecks achieve nothing but noise. Disable them, with a corollary
that we re-enable hangchecking after a successful GPU reset in case the
user is artificially bringing the machine back to life through the debug
interface.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161122144121.7379-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_hangcheck.c