]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/guc: Log content of the failed G2H message
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 5 Nov 2024 17:30:29 +0000 (18:30 +0100)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 7 Nov 2024 16:38:09 +0000 (17:38 +0100)
commitc4ed1bb128473cf250df89ad278b37922a810dd3
treed7b3af9c5062d83ef5431f36d9fb98479c2e1818
parentabd2202047fc75d52dcd729d5a1534f019822e9c
drm/xe/guc: Log content of the failed G2H message

We are already logging an error once we failed to process a G2H
message, but then it's quite hard to extract the content of the
broken G2H message from the captured snapshot. Extend our error
log with the raw hexdump of the G2H message.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241105173032.1947-2-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_guc_ct.c