[PATCH v2 0/2] drm/xe/guc: Improvements to GuC debugfs info

John.C.Harrison at Intel.com John.C.Harrison at Intel.com
Thu Oct 24 00:25:52 UTC 2024


From: John Harrison <John.C.Harrison at Intel.com>

The full CTB content dump is quite large, not human readable and
rarely interesting. So split it out of the guc_info file and into its
own guc_ctb file. Also add some extra blank lines to improve the human
readability of the info file.

Also, the GuC timestamp is actually more than 32 bits wide, so save
and print the full 64 bit register. It's still not the full 64 bits
yet (only 36 bits on current platforms) but the extra few bits might
be useful.

v2: Hide internal only function params (review feedback from Matthew
Brost) and fix a documentation bug.

Signed-off-by: John Harrison <John.C.Harrison at Intel.com>


John Harrison (2):
  drm/xe/guc: Capture all available bits of GuC timestamp
  drm/xe/guc: Separate full CTB content from guc_info debugfs

 drivers/gpu/drm/xe/regs/xe_guc_regs.h |  3 +-
 drivers/gpu/drm/xe/xe_devcoredump.c   |  2 +-
 drivers/gpu/drm/xe/xe_guc.c           |  5 ++-
 drivers/gpu/drm/xe/xe_guc_ct.c        | 54 ++++++++++++++-------------
 drivers/gpu/drm/xe/xe_guc_ct.h        |  5 +--
 drivers/gpu/drm/xe/xe_guc_debugfs.c   | 14 +++++++
 drivers/gpu/drm/xe/xe_guc_log.c       |  6 +--
 drivers/gpu/drm/xe/xe_guc_log_types.h |  2 +-
 8 files changed, 55 insertions(+), 36 deletions(-)

-- 
2.47.0



More information about the Intel-xe mailing list