diff options
author | 2023-11-22 14:38:31 +0000 | |
---|---|---|
committer | 2023-12-21 11:45:19 -0500 | |
commit | c3fca1077b9a19e679ec59ff2d2c5f4069e375ae (patch) | |
tree | 1d0a1e2393a20ae7020ffee98ec7b18b4372fa98 /include | |
parent | drm/xe/uapi: Crystal Reference Clock updates (diff) | |
download | linux-c3fca1077b9a19e679ec59ff2d2c5f4069e375ae.tar.gz linux-c3fca1077b9a19e679ec59ff2d2c5f4069e375ae.tar.bz2 linux-c3fca1077b9a19e679ec59ff2d2c5f4069e375ae.zip |
drm/xe/uapi: Add Tile ID information to the GT info query
As an information only. So Userspace can use this information
and be able to correlate different GTs.
Make API symmetric between Engine and GT info.
There's no need right now to include a tile_query entry
since there's no other information that we need from tile
that is not already exposed through different queries.
However, this could be added later if we have different Tile
information that could matter to userspace. But let's keep
the API ready for a direct reference to Tile ID based on
the GT entry.
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/drm/xe_drm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h index df3e6fcf9b8b..584fe08e775c 100644 --- a/include/uapi/drm/xe_drm.h +++ b/include/uapi/drm/xe_drm.h @@ -378,6 +378,8 @@ struct drm_xe_gt { #define DRM_XE_QUERY_GT_TYPE_MEDIA 1 /** @type: GT type: Main or Media */ __u16 type; + /** @tile_id: Tile ID where this GT lives (Information only) */ + __u16 tile_id; /** @gt_id: Unique ID of this GT within the PCI Device */ __u16 gt_id; /** @reference_clock: A clock frequency for timestamp */ |