struct drm_xe_query_config - describe the device configuration
If a query is made with a struct drm_xe_device_query where .query is equal to DRM_XE_DEVICE_QUERY_CONFIG, then the reply uses struct drm_xe_query_config in .data.
The index in @info can be:
- DRM_XE_QUERY_CONFIG_REV_AND_DEVICE_ID - Device ID (lower 16 bits) and the device revision (next 8 bits)
- DRM_XE_QUERY_CONFIG_FLAGS - Flags describing the device configuration, see list below
- DRM_XE_QUERY_CONFIG_FLAG_HAS_VRAM - Flag is set if the device has usable VRAM
- DRM_XE_QUERY_CONFIG_FLAG_HAS_LOW_LATENCY - Flag is set if the device has low latency hint support
- DRM_XE_QUERY_CONFIG_FLAG_HAS_CPU_ADDR_MIRROR - Flag is set if the device has CPU address mirroring support
- DRM_XE_QUERY_CONFIG_FLAG_HAS_NO_COMPRESSION_HINT - Flag is set if the device supports the userspace hint DRM_XE_GEM_CREATE_FLAG_NO_COMPRESSION. This is exposed only on Xe2+.
- DRM_XE_QUERY_CONFIG_FLAG_HAS_DISABLE_STATE_CACHE_PERF_FIX - Flag is set if a queue can be created with DRM_XE_EXEC_QUEUE_SET_DISABLE_STATE_CACHE_PERF_FIX
- DRM_XE_QUERY_CONFIG_MIN_ALIGNMENT - Minimal memory alignment required by this device, typically SZ_4K or SZ_64K
- DRM_XE_QUERY_CONFIG_VA_BITS - Maximum bits of a virtual address
- DRM_XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY - Value of the highest available exec queue priority