[PATCH v2 0/2] drm/xe/guc: Add LFD format output for guc log
Zhanjun Dong
zhanjun.dong at intel.com
Thu Mar 27 23:40:26 UTC 2025
Add new debugfs entry "guc_log_lfd", which supports output guc log
in LFD(Log Format Descriptors) format.
Add flag of GuC crash dump received. LFD only include crash dump
section when this flag is set.
Signed-off-by: Zhanjun Dong <zhanjun.dong at intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: John Harrison <john.c.harrison at intel.com>
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 (2):
drm/xe/guc: Add LFD format output for guc log
drm/xe/guc: Only add GuC crash dump if available
drivers/gpu/drm/xe/abi/guc_log_abi.h | 112 +++++++
drivers/gpu/drm/xe/abi/guc_log_lfd_abi.h | 261 +++++++++++++++
drivers/gpu/drm/xe/xe_guc_ct.c | 13 +-
drivers/gpu/drm/xe/xe_guc_debugfs.c | 14 +
drivers/gpu/drm/xe/xe_guc_log.c | 398 +++++++++++++++++++++++
drivers/gpu/drm/xe/xe_guc_log.h | 1 +
drivers/gpu/drm/xe/xe_guc_log_types.h | 2 +
7 files changed, 796 insertions(+), 5 deletions(-)
create mode 100644 drivers/gpu/drm/xe/abi/guc_log_lfd_abi.h
--
2.34.1
More information about the Intel-xe
mailing list