Introduce Panfrost JM contexts
From: | Adrián Larumbe <adrian.larumbe-AT-collabora.com> | |
To: | linux-kernel-AT-vger.kernel.org | |
Subject: | [PATCH 0/5] Introduce Panfrost JM contexts | |
Date: | Thu, 28 Aug 2025 03:34:03 +0100 | |
Message-ID: | <20250828023422.2404784-1-adrian.larumbe@collabora.com> | |
Cc: | dri-devel-AT-lists.freedesktop.org, Boris Brezillon <boris.brezillon-AT-collabora.com>, kernel-AT-collabora.com, Adrián Larumbe <adrian.larumbe-AT-collabora.com> | |
Archive-link: | Article |
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