drm/i915: Record more information about the hanging contexts
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 29 Jan 2017 09:24:33 +0000 (09:24 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 31 Jan 2017 09:50:03 +0000 (09:50 +0000)
commit4fa6053efdc7a30720fffddb9df353b0273ce17f
treeb04d416e0a984923f16f08d5080a224a4fbf2fb1
parent0102ba1fd8af8c2719436eaadc743f940ab525c2
drm/i915: Record more information about the hanging contexts

Include extra information such as the user_handle and hw_id so that
userspace can identify which of their contexts hung, useful if they are
performing self-diagnositics.

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