drm/i915: Show engine state when hangcheck detects a stall
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Dec 2017 12:26:13 +0000 (12:26 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Dec 2017 14:56:53 +0000 (14:56 +0000)
commit84ef3a727e32ac32380e28198c3fdc6dcf941ec6
tree44a4200401e2906b31b418905bb8bfd8e153c929
parentfe66e92888a1cc0275d98be2d62ba81a097ec3f5
drm/i915: Show engine state when hangcheck detects a stall

Knowing the state of the engine when hangcheck thinks it is stalling is
useful for both debugging hangcheck itself and the potential cause of an
unwanted stall.

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