num_params can be used to retrieve the size of the info array for the specific version of the kernel being used. v2: Also remove XE_QUERY_CONFIG_NUM_PARAM (José Roberto de Souza)
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -329,7 +329,6 @@ struct drm_xe_query_config { · 328 unmodified lines | ||
| 329 | 329 | #define XE_QUERY_CONFIG_GT_COUNT 4 |
| 330 | 330 | #define XE_QUERY_CONFIG_MEM_REGION_COUNT 5 |
| 331 | 331 | #define XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY 6 |
| 332 | −#define XE_QUERY_CONFIG_NUM_PARAM (XE_QUERY_CONFIG_MAX_EXEC_QUEUE_PRIORITY + 1) | |
| 333 | 332 | /** @info: array of elements containing the config info */ |
| 334 | 333 | __u64 info[]; |
| 335 | 334 | }; |