|
XenevaOS
|
#include <xe_drm.h>
Public Attributes | |
| __u16 | type |
| __u16 | tile_id |
| __u16 | gt_id |
| __u16 | pad [3] |
| __u32 | reference_clock |
| __u64 | near_mem_regions |
| __u64 | far_mem_regions |
| __u16 | ip_ver_major |
| __u16 | ip_ver_minor |
| __u16 | ip_ver_rev |
| __u16 | pad2 |
| __u64 | reserved [7] |
struct drm_xe_gt - describe an individual GT.
To be used with drm_xe_query_gt_list, which will return a list with all the existing GT individual descriptions. Graphics Technology (GT) is a subset of a GPU/tile that is responsible for implementing graphics and/or media operations.
The index in @type can be:
| __u64 drm_xe_gt::far_mem_regions |
@far_mem_regions: Bit mask of instances from drm_xe_query_mem_regions that are far from the engines of this GT. In general, they have extra indirections when compared to the @near_mem_regions. For a discrete device this could mean system memory and memory living in a different tile. Each index in this mask refers directly to the struct drm_xe_query_mem_regions' instance, no assumptions should be made about order. The type of each region is described by struct drm_xe_query_mem_regions' mem_class.
| __u16 drm_xe_gt::gt_id |
@gt_id: Unique ID of this GT within the PCI Device
| __u16 drm_xe_gt::ip_ver_major |
@ip_ver_major: Graphics/media IP major version on GMD_ID platforms
| __u16 drm_xe_gt::ip_ver_minor |
@ip_ver_minor: Graphics/media IP minor version on GMD_ID platforms
| __u16 drm_xe_gt::ip_ver_rev |
@ip_ver_rev: Graphics/media IP revision version on GMD_ID platforms
| __u64 drm_xe_gt::near_mem_regions |
@near_mem_regions: Bit mask of instances from drm_xe_query_mem_regions that are nearest to the current engines of this GT. Each index in this mask refers directly to the struct drm_xe_query_mem_regions' instance, no assumptions should be made about order. The type of each region is described by struct drm_xe_query_mem_regions' mem_class.
| __u16 drm_xe_gt::pad[3] |
@pad: MBZ
| __u16 drm_xe_gt::pad2 |
@pad2: MBZ
| __u32 drm_xe_gt::reference_clock |
@reference_clock: A clock frequency for timestamp
| __u64 drm_xe_gt::reserved[7] |
@reserved: Reserved
| __u16 drm_xe_gt::tile_id |
@tile_id: Tile ID where this GT lives (Information only)
| __u16 drm_xe_gt::type |
@type: GT type: Main or Media