drm/panthor: Add PANTHOR_GROUP_PRIORITY_REALTIME group priority
authorMary Guillemard <mary.guillemard@collabora.com>
Mon, 9 Sep 2024 06:48:20 +0000 (08:48 +0200)
committerSteven Price <steven.price@arm.com>
Wed, 25 Sep 2024 14:25:51 +0000 (15:25 +0100)
commitf73716fd4550d588a811f11c370e90c303f0829b
tree2add3f3a7fb6f9165d03be2b28951a9b874eeb98
parent9f8e1c93a0d459463819d8bd222196b2655c279f
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
drivers/gpu/drm/panthor/panthor_drv.c
drivers/gpu/drm/panthor/panthor_sched.c
include/uapi/drm/panthor_drm.h