drm/i915: Only record active and pending requests upon a GPU hang
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:49:10 +0000 (10:49 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:01:18 +0000 (11:01 +0100)
commit57bc699d43390aab7a21f3f2cee1f13cd31fd0fd
tree503742686260547c2f94a35a149958ed8192117c
parent03382dfb633c1c1ac85b3d81ddd2256dcbc8f353
drm/i915: Only record active and pending requests upon a GPU hang

There is no other state pertaining to the completed requests in the
hang, other than gleamed through the ringbuffer, so including the
expired requests in the list of outstanding requests simply adds noise.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471254551-25805-31-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c