Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/xe/guc: Add LFD format output for guc log
@ 2025-03-27 23:40 Zhanjun Dong
  2025-03-27 23:40 ` [PATCH v2 1/2] " Zhanjun Dong
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Zhanjun Dong @ 2025-03-27 23:40 UTC (permalink / raw)
  To: intel-xe; +Cc: Zhanjun Dong, Michal Wajdeczko, John Harrison

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@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: John Harrison <john.c.harrison@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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-04-11 20:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 23:40 [PATCH v2 0/2] drm/xe/guc: Add LFD format output for guc log Zhanjun Dong
2025-03-27 23:40 ` [PATCH v2 1/2] " Zhanjun Dong
2025-03-28  3:39   ` Matthew Brost
2025-03-31 23:47     ` Dong, Zhanjun
2025-04-03 15:20     ` Dong, Zhanjun
2025-04-11 14:38       ` Michal Wajdeczko
2025-04-11 20:21         ` Dong, Zhanjun
2025-03-27 23:40 ` [PATCH v2 2/2] drm/xe/guc: Only add GuC crash dump if available Zhanjun Dong
2025-04-03 21:46   ` John Harrison
2025-04-08 14:51     ` Dong, Zhanjun
2025-03-27 23:45 ` ✓ CI.Patch_applied: success for drm/xe/guc: Add LFD format output for guc log (rev2) Patchwork
2025-03-27 23:45 ` ✗ CI.checkpatch: warning " Patchwork
2025-03-27 23:46 ` ✓ CI.KUnit: success " Patchwork
2025-03-28  0:03 ` ✓ CI.Build: " Patchwork
2025-03-28  0:05 ` ✓ CI.Hooks: " Patchwork
2025-03-28  0:07 ` ✓ CI.checksparse: " Patchwork
2025-03-28  0:28 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-28 13:26 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox