drm/xe: Add GTs under respective tile sysfs
authorTejas Upadhyay <tejas.upadhyay@intel.com>
Tue, 6 Jun 2023 10:18:38 +0000 (15:48 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:35:06 +0000 (11:35 -0500)
commit8c82f914a302e394e2a037241d84ca3af6577f97
treefd9862209f64ab6bea45461bf0362565fefd3818
parente5a845fd8fa4ce61a99c87f37b63530fa4995750
drm/xe: Add GTs under respective tile sysfs

With the separation of xe_tile and xe_gt, We now consider
a PCI device (xe_device) to contain one or more tiles (struct xe_tile).
Each tile will contain one or more GTs (struct xe_gt).
So lets align sysfs paths accordingly.

TODO: Currently we have gt0 under tile0 and gt1 under tile1
on multi-tile. This GT indexing still under discussion, when
it is concluded we need to revisit this change.

Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_sysfs.c