]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move debugfs GT attributes under tile directory
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 14 Jul 2025 19:36:45 +0000 (21:36 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Wed, 16 Jul 2025 15:24:00 +0000 (17:24 +0200)
commitbf81505f7dba467c17097315864790f9f7dca08a
treebe950237db363394a1a79a35d7278aff29ce1cf3
parent2f264d58cc805a3cefc6b98097f90fbc388136ef
drm/xe: Move debugfs GT attributes under tile directory

While in sysfs we are correctly trying to reflect the hardware
architecture and we expose GT attributes in per tile hierarchy,
in debugfs we expose GT attributes at flat level, without tiles.

Create debugfs directories to represent each tile and move GT
attributes under matching parent tile directory. To not break
existing debugfs tools, create symlink under old location:

 /sys/kernel/debug/dri/0000:00:02.0/
 ├── ...
 ├── gt0 -> tile0/gt0
 ├── gt1 -> tile0/gt1
 ├── tile0
 │   ├── gt0
 │   │   ├── ...
 │   ├── gt1
 │   │   ├── ...

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250714193645.763-1-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_debugfs.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt_debugfs.c