[PATCH 0/3] Refactor GT debugfs
Michal Wajdeczko
michal.wajdeczko at intel.com
Wed Feb 14 11:57:53 UTC 2024
Many of our debugfs files are GT specific and require a pointer to
struct xe_gt to correctly show its content. Our initial approach
to use drm_info_list.data field to pass pointer not only requires
extra steps (like copying template per each GT) but also abuses
the rule that this data field should not be device specific.
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Michal Wajdeczko (3):
drm/xe: Store pointer to struct xe_gt in gt/ debugfs directory
drm/xe: Define helper for GT specific debugfs files
drm/xe: Refactor GT debugfs
drivers/gpu/drm/xe/xe_gt_debugfs.c | 206 ++++++++++++++---------------
drivers/gpu/drm/xe/xe_gt_debugfs.h | 2 +
2 files changed, 105 insertions(+), 103 deletions(-)
--
2.43.0
More information about the Intel-xe
mailing list