From: Zhanjun Dong <zhanjun.dong@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Zhanjun Dong <zhanjun.dong@intel.com>
Subject: [PATCH v3 0/4] drm/xe/guc: Add LFD format output for guc log
Date: Thu, 10 Apr 2025 08:58:49 -0700 [thread overview]
Message-ID: <20250410155853.574830-1-zhanjun.dong@intel.com> (raw)
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>
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
next reply other threads:[~2025-04-10 15:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-10 15:58 Zhanjun Dong [this message]
2025-04-10 15:58 ` [PATCH v3 1/4] drm/xe/guc: Add LFD related abi definitions Zhanjun Dong
2025-04-10 17:50 ` Cavitt, Jonathan
2025-04-10 22:20 ` Dong, Zhanjun
2025-04-10 22:29 ` Cavitt, Jonathan
2025-04-11 15:28 ` Michal Wajdeczko
2025-04-11 21:58 ` Dong, Zhanjun
2025-04-10 15:58 ` [PATCH v3 2/4] drm/xe/guc: Add new debugfs entry for lfd format output Zhanjun Dong
2025-04-10 17:50 ` Cavitt, Jonathan
2025-04-10 22:45 ` Dong, Zhanjun
2025-04-11 15:34 ` Michal Wajdeczko
2025-04-11 22:40 ` Dong, Zhanjun
2025-04-10 15:58 ` [PATCH v3 3/4] drm/xe/guc: Add GuC log LFD format support Zhanjun Dong
2025-04-10 17:52 ` Cavitt, Jonathan
2025-04-11 16:14 ` Michal Wajdeczko
2025-04-11 22:58 ` Dong, Zhanjun
2025-04-10 15:58 ` [PATCH v3 4/4] drm/xe/guc: Only add GuC crash dump if available Zhanjun Dong
2025-04-10 17:52 ` Cavitt, Jonathan
2025-04-10 16:03 ` ✓ CI.Patch_applied: success for drm/xe/guc: Add LFD format output for guc log (rev3) Patchwork
2025-04-10 16:04 ` ✗ CI.checkpatch: warning " Patchwork
2025-04-10 16:05 ` ✓ CI.KUnit: success " Patchwork
2025-04-10 16:13 ` ✓ CI.Build: " Patchwork
2025-04-10 16:15 ` ✓ CI.Hooks: " Patchwork
2025-04-10 16:17 ` ✓ CI.checksparse: " Patchwork
2025-04-10 16:53 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-10 21:00 ` ✗ Xe.CI.Full: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250410155853.574830-1-zhanjun.dong@intel.com \
--to=zhanjun.dong@intel.com \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox