Mesa MR with the UM driver changes is available at:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37075
On 28.08.2025 03:34, Adrián Larumbe wrote:
> This patch series brings the notion of JM contexts into Panfrost.
> UM will be able to create contexts, get a handle for them and attach
> it to a job submission. Contexts describe basic HW resource assignment
> to jobs, and also their job slot priorities.
>
> A Mesa MR with UM changes that leverage this new kernel driver feature
> is still in the making.
>
> Boris Brezillon (5):
> drm/panfrost: Add job slot register defs for affinity
> drm/panfrost: Introduce uAPI for JM context creation
> drm/panfrost: Introduce JM context for manging job resources
> drm/panfrost: Expose JM context IOCTLs to UM
> drm/panfrost: Display list of device JM contexts over debugfs
>
> drivers/gpu/drm/panfrost/panfrost_device.h | 4 +-
> drivers/gpu/drm/panfrost/panfrost_drv.c | 152 +++++++++++-
> drivers/gpu/drm/panfrost/panfrost_job.c | 270 +++++++++++++++++----
> drivers/gpu/drm/panfrost/panfrost_job.h | 27 ++-
> drivers/gpu/drm/panfrost/panfrost_regs.h | 6 +
> include/uapi/drm/panfrost_drm.h | 93 +++++++
> 6 files changed, 494 insertions(+), 58 deletions(-)
>
>
> base-commit: 5c76c794bf29399394ebacaa5af8436b8bed0d46
> --
> 2.50.0
Adrian Larumbe