]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Avoid promoting a simulated hang to 'wedged'
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 May 2013 09:38:44 +0000 (10:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 18:54:06 +0000 (20:54 +0200)
commitccddcefba3ccaef7e6958c28ce65a69198f9480e
treee6d6724e00f9f46b5c0577835fc22c68808387b1
parentabdc154dee0467cf476f3099c78d162295f0c4a2
drm/i915: Avoid promoting a simulated hang to 'wedged'

It appears that a beneficial side-effect of Mika's more accurate hangman
work is to speed up hang detection and execution. This exposes a bug in
the reset code that then treats repeated simulated hangs as an
indication that the machine is wedged. Jiggle the code around so that we
only do the simulation processing from the hangcheck and avoid confusing
it with a real hang.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65060
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c