[igt-dev] [PATCH i-g-t v9 2/4] lib/igt_sysfs: Handling gt related sysfs uapi changes

Dixit, Ashutosh ashutosh.dixit at intel.com
Mon Jul 10 06:35:29 UTC 2023


On Sun, 09 Jul 2023 21:43:28 -0700, Himal Prasad Ghimiray wrote:
>
> Patch https://patchwork.freedesktop.org/series/118927/
> is moving gt sysfs parent under tile folder.
>
> With the above patch path for sysfs changes:
> from: /sys/class/drm/cardX/device/gtN/
> to : /sys/class/drm/cardX/device/tileN/gtN
>
> Adding xe_gt_sysfs_path function to access new path.
>
> v2:
> - Calculate number of tiles once within iterator. (Rahul)
>
> v3:
> - Drop usage of local variable for tilecount.
> - Change order of tile and gt. (Ashutosh)
>
> v4:
> - Drop xe_for_each_gt_under_each_tile macro
>   add xe_gt_sysfs_path to return path. (Ashutosh)
> - Support older dir path along with new. (kamil)
>
> v5:
> - Dont use fixed paths. Find gt in available tiles. (Ashutosh)
>
> v6:
> - Define gt related functions for xe. (Ashutosh)
>
> v7:
> - use intel_get_drm_devid to determine devid and fix the
> parameter for platform check. (Ashutosh)
> - check pvc instead of mtl and consider other platforms as
> default. (Ashutosh)

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>


More information about the igt-dev mailing list