@@ -1259,13 +1259,15 @@ struct drm_xe_vm_bind {
12591259 * If the extension's 'value' field has %DRM_XE_MULTI_GROUP_CREATE flag set,
12601260 * then a new multi-queue group is created with this queue as the primary queue
12611261 * (Q0). Otherwise, the queue gets added to the multi-queue group whose primary
1262- * queue id is specified in the 'value' field.
1262+ * queue's exec_queue_id is specified in the lower 32 bits of the 'value' field.
12631263 * If the extension's 'value' field has %DRM_XE_MULTI_GROUP_KEEP_ACTIVE flag
12641264 * set, then the multi-queue group is kept active after the primary queue is
12651265 * destroyed.
1266- *
1266+ * All the other non-relevant bits of extension's 'value' field while adding the
1267+ * primary or the secondary queues of the group must be set to 0.
12671268 * - %DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_QUEUE_PRIORITY - Set the queue
1268- * priority within the multi-queue group.
1269+ * priority within the multi-queue group. Current valid priority values are 0-2
1270+ * (default is 1), with higher values indicating higher priority.
12691271 *
12701272 * The example below shows how to use @drm_xe_exec_queue_create to create
12711273 * a simple exec_queue (no parallel submission) of class
@@ -1306,10 +1308,10 @@ struct drm_xe_exec_queue_create {
13061308#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_PRIORITY 0
13071309#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_TIMESLICE 1
13081310#define DRM_XE_EXEC_QUEUE_SET_PROPERTY_PXP_TYPE 2
1309- #define DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUP 3
1311+ #define DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUP 4
13101312#define DRM_XE_MULTI_GROUP_CREATE (1ull << 63)
13111313#define DRM_XE_MULTI_GROUP_KEEP_ACTIVE (1ull << 62)
1312- #define DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_QUEUE_PRIORITY 4
1314+ #define DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_QUEUE_PRIORITY 5
13131315 /** @extensions: Pointer to the first extension struct, if any */
13141316 __u64 extensions ;
13151317
@@ -2295,6 +2297,8 @@ struct drm_xe_vm_query_mem_range_attr {
22952297 * struct drm_xe_exec_queue_set_property - exec queue set property
22962298 *
22972299 * Sets execution queue properties dynamically.
2300+ * Currently only %DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_QUEUE_PRIORITY
2301+ * property can be dynamically set.
22982302 */
22992303struct drm_xe_exec_queue_set_property {
23002304 /** @extensions: Pointer to the first extension struct, if any */
0 commit comments