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)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 28 Jan 2025 03:41:07 +0000 (19:41 -0800)
commitcb1f868ca13756c0c18ba54d1591332476760d07
treef974f527d3dc4e8c79b60211f15337d478e919f8
parent2c95bbf5002776117a69caed3b31c10bf7341bec
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>
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_guc_log.c