drm/i915: Double check hangcheck.seqno after reset
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 4 Oct 2016 20:11:29 +0000 (21:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 5 Oct 2016 07:40:06 +0000 (08:40 +0100)
commit77c607013e208ed212845ce2565f24145393fee1
treee2a2c342c49c7229fad7cf83443ad759c8f337d8
parent9e60ab0387817c6a9440f448aff7c8514b32d31b
drm/i915: Double check hangcheck.seqno after reset

Check that there was not a late recovery between us declaring the GPU
hung and processing the reset. If the GPU did recover by itself, let the
request remain on the active list and see if it hangs again!

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