Skip to content

Commit 3795860

Browse files
ifdurodrigovivi
authored andcommitted
drm/xe/uapi: Document DRM_XE_DEVICE_QUERY_HWCONFIG
Add a documentation on the content and format of when using query type DRM_XE_DEVICE_QUERY_HWCONFIG. The list of keys can be found in IGT under lib/intel_hwconfig_types.h. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: José Roberto de Souza <jose.souza@intel.com> Acked-by: Mateusz Naklicki <mateusz.naklicki@intel.com> Signed-off-by: Francois Dugast <francois.dugast@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent af8ea41 commit 3795860

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

include/uapi/drm/xe_drm.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,11 @@ struct drm_xe_device_query {
537537
#define DRM_XE_DEVICE_QUERY_MEM_REGIONS 1
538538
#define DRM_XE_DEVICE_QUERY_CONFIG 2
539539
#define DRM_XE_DEVICE_QUERY_GT_LIST 3
540+
/*
541+
* Query type to retrieve the hardware configuration of the device
542+
* such as information on slices, memory, caches, and so on. It is
543+
* provided as a table of attributes (key / value).
544+
*/
540545
#define DRM_XE_DEVICE_QUERY_HWCONFIG 4
541546
#define DRM_XE_DEVICE_QUERY_GT_TOPOLOGY 5
542547
#define DRM_XE_DEVICE_QUERY_ENGINE_CYCLES 6

0 commit comments

Comments
 (0)