]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add extra registers to GPU error dump
authorStuart Summers <stuart.summers@intel.com>
Wed, 1 Jun 2022 21:06:46 +0000 (14:06 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 2 Jun 2022 16:14:36 +0000 (09:14 -0700)
commit8e46cb5661217be0fc78bd907b7d08bd4f415f0b
tree16cef46018507b874efe7d77c35b1dcf38f92acb
parentaa34ee6d5fbd0d748d3c6c39028d3c6a079f188b
drm/i915: Add extra registers to GPU error dump

Our internal teams have identified a few additional engine registers
that are worth inspecting in error state dumps during development &
debug.  Let's capture and print them as part of our error dump.

For simplicity we'll just dump these registers on gen11 and beyond.
Most of these registers have existed since earlier platforms (e.g., gen6
or gen7) but were initially introduced only for a subset of the
platforms' engines; gen11 seems to be where they became available on all
engines.

Signed-off-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220601210646.615946-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_engine_regs.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h