]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/panfrost: Introduce JM contexts for manging job resources
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 17 Sep 2025 19:18:38 +0000 (20:18 +0100)
committerSteven Price <steven.price@arm.com>
Thu, 18 Sep 2025 13:09:58 +0000 (14:09 +0100)
commit6aa8bc58ac88f3aafb48df68db14dc6b8c85f295
tree943533420266fe9398b34af6e3cdcc04eed0669f
parentb060004f06ae0a3064bddb87a3f8ad13f859fcf3
drm/panfrost: Introduce JM contexts for manging job resources

A JM context describes user-requested priorities for the JM queues.

Context creation leads to the initialization of scheduling entities of
the same priority for all the device's job slots.

Until context creation and destruction are exposed to UM, all issued
jobs shall be bound to the default Panfrost file context, which has
medium priority.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250917191859.500279-3-adrian.larumbe@collabora.com
drivers/gpu/drm/panfrost/panfrost_device.h
drivers/gpu/drm/panfrost/panfrost_drv.c
drivers/gpu/drm/panfrost/panfrost_job.c
drivers/gpu/drm/panfrost/panfrost_job.h