]> 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)
commit46a9b781a202964b187baf0bb283f7af2921f0e1
tree5d6e5d9115cd2d5424a3df8c0d6b8aa75f533d2e
parent2f71021501774ed6831c04f6b681884cf801a060
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