drm/i915: Drop the shadow ring state from the error capture
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2020 12:30:58 +0000 (12:30 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 10 Jan 2020 15:34:33 +0000 (15:34 +0000)
commita0d5d0c804321b172f4b0def3723581b41632458
tree0175a1705031bc813dedc1c52513e659bb360429
parentcbcfa8a3e16073dfcdc9da224daba3fa92e81c45
drm/i915: Drop the shadow ring state from the error capture

The shadow ring regs (ring->head, ring->tail) are meaningless in the
post-mortem dump as they do not related to anything on HW. Remove them
from the coredump.

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