drm/xe: Make GUC binaries dump consistent with other binaries in devcoredump
authorJosé Roberto de Souza <jose.souza@intel.com>
Thu, 23 Jan 2025 20:22:04 +0000 (12:22 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 18 Feb 2025 19:13:59 +0000 (14:13 -0500)
commit643f209ba3fdd4099416aaf9efa8266f7366d6fb
tree2dd47598222cb0e224c607c55224371f8dce8998
parent0c455f3a12298e9c89a78d2f3327e15e52c0adc5
drm/xe: Make GUC binaries dump consistent with other binaries in devcoredump

All other(hwsp, hwctx and vmas) binaries follow this format:
[name].length: 0x1000
[name].data: xxxxxxx
[name].error: errno

The error one is just in case by some reason it was not able to
capture the binary.

So this GuC binaries should follow the same patern.

v2:
- renamed GUC binary to LOG

Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250123202307.95103-3-jose.souza@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit cb1f868ca13756c0c18ba54d1591332476760d07)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_guc_log.c