[igt-dev] [PATCH i-g-t v9 1/4] lib/igt_sysfs: Add support to query number of tiles

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


On Sun, 09 Jul 2023 21:43:27 -0700, Himal Prasad Ghimiray wrote:
>
> With tile and GT seperation in KMD, we need to know
> number of tiles supported by platform.
> We will need to access tile associated properties from IGT.
> Hence adding iterator for all supported tiles.
>
> v2:
> - Calculate number of tiles once within iterator. (Rahul)
> - Use snprintf instead of sprintf.
>
> v3:
> - Remove unrequired for_each_sysfs_tile_dirfd (Ashutosh)
>
> v4:
> - Implement tiles related functions in lib. (Ashutosh)
>
> v5:
> - Fix comments and remove not required conditional check. (Ashutosh)
>
> v6:
> - Remove xe_for_each_tile. (Ashutosh)

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


More information about the igt-dev mailing list