[PATCH 0/3] Refactor GT debugfs

Michal Wajdeczko michal.wajdeczko at intel.com
Wed Mar 13 12:42:58 UTC 2024


ping

On 14.02.2024 12:57, Michal Wajdeczko wrote:
> 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(-)
> 


More information about the Intel-xe mailing list