[PATCH v3 0/4] drm/xe/guc: Add LFD format output for guc log
Zhanjun Dong
zhanjun.dong at intel.com
Thu Apr 10 15:58:49 UTC 2025
Add new debugfs entry "guc_log_lfd", which supports output guc log
in LFD(Log Format Descriptors) format.
Add GuC crash dump data empty check. LFD will only include crash dump
section when data is not empty.
Signed-off-by: Zhanjun Dong <zhanjun.dong at intel.com>
Changes in v3:
Split ABI header, debugfs and GuC code out as seperate patch
Remove bit fields in structure define, changed to GENMASK
Remove crash_dumped flag, changed to dump data empty check
Changes in v2:
Split GuC init config abi defines out from LFD abi header file
Split crash dump detect as seperate patch
Add size check for LFD functions
Make abi header comments kernel-doc style
Zhanjun Dong (4):
drm/xe/guc: Add LFD related abi definitions
drm/xe/guc: Add new debugfs entry for lfd format output
drm/xe/guc: Add GuC log LFD format support
drm/xe/guc: Only add GuC crash dump if available
drivers/gpu/drm/xe/abi/guc_log_abi.h | 116 +++++++
drivers/gpu/drm/xe/abi/guc_log_lfd_abi.h | 265 +++++++++++++++
drivers/gpu/drm/xe/xe_guc_debugfs.c | 14 +
drivers/gpu/drm/xe/xe_guc_log.c | 409 +++++++++++++++++++++++
drivers/gpu/drm/xe/xe_guc_log.h | 1 +
5 files changed, 805 insertions(+)
create mode 100644 drivers/gpu/drm/xe/abi/guc_log_lfd_abi.h
--
2.34.1
More information about the Intel-xe
mailing list