OSDN Git Service

drm/i915: Only include active engines in the capture state
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Aug 2019 14:45:11 +0000 (15:45 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 8 Aug 2019 20:54:08 +0000 (21:54 +0100)
commitc990b4c3597d6c75dbc2937401ce32838adc77fc
tree69ee8961b97d96d8a050bf5adfc13a36849bfdfb
parentc7302f204490f3eb4ef839bec228315bcd3ba43f
drm/i915: Only include active engines in the capture state

Skip printing out idle engines that did not contribute to the GPU hang.
As the number of engines gets ever larger, we have increasing noise in
the error state where typically there is only one guilty request on one
engine that we need to inspect.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190808144511.32269-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h