summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorMary Guillemard <mary.guillemard@collabora.com>2024-09-09 08:48:20 +0200
committerSteven Price <steven.price@arm.com>2024-09-25 15:25:51 +0100
commitf73716fd4550d588a811f11c370e90c303f0829b (patch)
tree2add3f3a7fb6f9165d03be2b28951a9b874eeb98 /include/uapi
parent9f8e1c93a0d459463819d8bd222196b2655c279f (diff)
drm/panthor: Add PANTHOR_GROUP_PRIORITY_REALTIME group priority
This adds a new value to drm_panthor_group_priority exposing the realtime priority to userspace. This is required to implement NV_context_priority_realtime in Mesa. v2: - Add Steven Price r-b v3: - Add Boris Brezillon r-b Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Signed-off-by: Steven Price <steven.price@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240909064820.34982-3-mary.guillemard@collabora.com
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/panthor_drm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/drm/panthor_drm.h b/include/uapi/drm/panthor_drm.h
index 1fd8473548ac..011a555e4674 100644
--- a/include/uapi/drm/panthor_drm.h
+++ b/include/uapi/drm/panthor_drm.h
@@ -720,6 +720,13 @@ enum drm_panthor_group_priority {
* Requires CAP_SYS_NICE or DRM_MASTER.
*/
PANTHOR_GROUP_PRIORITY_HIGH,
+
+ /**
+ * @PANTHOR_GROUP_PRIORITY_REALTIME: Realtime priority group.
+ *
+ * Requires CAP_SYS_NICE or DRM_MASTER.
+ */
+ PANTHOR_GROUP_PRIORITY_REALTIME,
};
/**