]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Record CTB info in error logs
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 28 Jul 2022 02:20:25 +0000 (19:20 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 17 Aug 2022 17:06:59 +0000 (10:06 -0700)
commit28ca5ad1a9c9ab75c48869447238b52eedaadbe0
tree5d6e5d9115cd2d5424a3df8c0d6b8aa75f533d2e
parentb73139f7822ef65a53000f2c1b7517a006d404ef
drm/i915/guc: Record CTB info in error logs

When debugging GuC communication issues, it is useful to have the CTB
info available. So add the state and buffer contents to the error
capture log.

Also, add a sub-structure for the GuC specific error capture info as
it is now becoming numerous.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728022028.2190627-5-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h