intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/6] drm/xe/guc: Add LFD format output for guc log
@ 2025-04-23 21:58 Zhanjun Dong
  2025-04-23 21:58 ` [PATCH v4 1/6] drm/xe/guc: Add log init config abi definitions Zhanjun Dong
                   ` (12 more replies)
  0 siblings, 13 replies; 23+ messages in thread
From: Zhanjun Dong @ 2025-04-23 21:58 UTC (permalink / raw)
  To: intel-xe; +Cc: Zhanjun Dong, Michal Wajdeczko, Jonathan Cavitt, Matthew Brost

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@intel.com>

---
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>

Changes in v4:
Rebase with debugfs changes (Michal)
Drop "_t" suffix in structures name (Matthew, Michal)
Split log abi header as seperate patch (Michal)
Fix static vaiable multiple instance access issue (Michal)
Switched to fixed chunk size lfd buffer, removed buffer size check for KLVs
Removed log event buffer content copy, read from log buffer chunks directly
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 (6):
  drm/xe/guc: Add log init config abi definitions
  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 init config in LFD format
  drm/xe/guc: Add GuC log event buffer output in LFD format
  drm/xe/guc: Only add GuC crash dump if available

 drivers/gpu/drm/xe/abi/guc_log_lfd_abi.h | 279 ++++++++++++++++
 drivers/gpu/drm/xe/abi/guc_log_lic_abi.h | 117 +++++++
 drivers/gpu/drm/xe/xe_guc_debugfs.c      |   7 +
 drivers/gpu/drm/xe/xe_guc_log.c          | 391 +++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_guc_log.h          |   1 +
 5 files changed, 795 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/abi/guc_log_lfd_abi.h
 create mode 100644 drivers/gpu/drm/xe/abi/guc_log_lic_abi.h

-- 
2.34.1


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

end of thread, other threads:[~2025-07-14 23:32 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 21:58 [PATCH v4 0/6] drm/xe/guc: Add LFD format output for guc log Zhanjun Dong
2025-04-23 21:58 ` [PATCH v4 1/6] drm/xe/guc: Add log init config abi definitions Zhanjun Dong
2025-06-28 12:19   ` Michal Wajdeczko
2025-06-28 12:32     ` Michal Wajdeczko
2025-07-14 21:44       ` Dong, Zhanjun
2025-04-23 21:58 ` [PATCH v4 2/6] drm/xe/guc: Add LFD related " Zhanjun Dong
2025-06-28 12:50   ` Michal Wajdeczko
2025-07-14 22:13     ` Dong, Zhanjun
2025-04-23 21:58 ` [PATCH v4 3/6] drm/xe/guc: Add new debugfs entry for lfd format output Zhanjun Dong
2025-06-28 13:06   ` Michal Wajdeczko
2025-07-14 23:26     ` Dong, Zhanjun
2025-04-23 21:58 ` [PATCH v4 4/6] drm/xe/guc: Add GuC log init config in LFD format Zhanjun Dong
2025-04-23 21:58 ` [PATCH v4 5/6] drm/xe/guc: Add GuC log event buffer output " Zhanjun Dong
2025-06-28 14:46   ` Michal Wajdeczko
2025-07-14 23:32     ` Dong, Zhanjun
2025-04-23 21:58 ` [PATCH v4 6/6] drm/xe/guc: Only add GuC crash dump if available Zhanjun Dong
2025-04-24 12:08 ` ✓ CI.Patch_applied: success for drm/xe/guc: Add LFD format output for guc log (rev4) Patchwork
2025-04-24 12:08 ` ✗ CI.checkpatch: warning " Patchwork
2025-04-24 12:09 ` ✓ CI.KUnit: success " Patchwork
2025-04-24 12:18 ` ✓ CI.Build: " Patchwork
2025-04-24 12:21 ` ✗ CI.Hooks: failure " Patchwork
2025-04-24 12:23 ` ✓ CI.checksparse: success " Patchwork
2025-04-25  6:17 ` ✗ 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;
as well as URLs for NNTP newsgroup(s).