OSDN Git Service

drm/i915: Mark the hangcheck as idle when unparking the engines
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 2 May 2018 22:03:13 +0000 (23:03 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 May 2018 09:43:46 +0000 (10:43 +0100)
commite21b141376f9b654e782757e156886c34bdf12ae
tree8367476b283efc0d4a7f0c6646b0fa630c6285ab
parentea491b23b2ffba069537a8216060d4d3400931a7
drm/i915: Mark the hangcheck as idle when unparking the engines

As we unpark the engines and are about to begin a new cycle of activity,
mark the current status of the hangceck as idle so that we avoid
carrying over a stale timestamp/action into the next cycle.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180502220313.6459-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_engine_cs.c