drm/xe/guc: Separate full CTB content from guc_info debugfs
The guc_info debugfs file is meant to be a quick view of the current software state of the GuC interface. Including the full CTB contents makes the file as a whole much less human readable and is not partiular useful in the general case. So don't pollute the info dump with the full buffers. Instead, move those into a separate debugfs entry that can be read when that information is actually required. Also, improve the human readability by adding a few extra blank lines to delimt the sections. v2: Hide the internal capture/print params from external callers that don't need to know (review feedback from Matthew Brost). Signed-off-by:John Harrison <John.C.Harrison@Intel.com> Reviewed-by:
Matthew Brost <matthew.brost@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241024002554.1983101-3-John.C.Harrison@Intel.com
Showing
- drivers/gpu/drm/xe/xe_devcoredump.c 1 addition, 1 deletiondrivers/gpu/drm/xe/xe_devcoredump.c
- drivers/gpu/drm/xe/xe_guc.c 4 additions, 1 deletiondrivers/gpu/drm/xe/xe_guc.c
- drivers/gpu/drm/xe/xe_guc_ct.c 28 additions, 26 deletionsdrivers/gpu/drm/xe/xe_guc_ct.c
- drivers/gpu/drm/xe/xe_guc_ct.h 2 additions, 3 deletionsdrivers/gpu/drm/xe/xe_guc_ct.h
- drivers/gpu/drm/xe/xe_guc_debugfs.c 14 additions, 0 deletionsdrivers/gpu/drm/xe/xe_guc_debugfs.c
Loading
Please register or sign in to comment