OSDN Git Service

drm/i915: Show guilty context name on GPU reset
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 11:43:22 +0000 (11:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 11 Nov 2019 11:46:40 +0000 (11:46 +0000)
commitdfd9c1b4eab124c16c3b59362c3640983bf79949
treebdd9e746fbd74a6e3a5315f4995662435485123a
parent267c012635c2a5cdeedf6ccf85b57add3f7826b3
drm/i915: Show guilty context name on GPU reset

We mention that we are resetting the GPU, and dump the device state for
post mortem debugging. However, while that dump contains the active
processes and the one flagged as causing the error, we do not always
include that information in dmesg. Include the name of the guilty
process in dmesg for reference.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191111114323.5833-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_reset.c