Panthor DRM Driver For Arm Mali Graphics Working On User Submission Handling
- Reference: 0001489030
- News link: https://www.phoronix.com/news/Panthor-Driver-User-Submission
- Source link:
The RFC patches posted on Monday are the initial design for handling user submission support with this newer Direct Rendering Manager driver. Atanassov explains of the Panthor user submission work:
"This series implements a mechanism to expose Mali CSF GPUs' queue ringbuffers directly to userspace, along with paraphernalia to allow userspace to control job synchronisation between the CPU and GPU.
The goal of these changes is to allow userspace to control work submission to the FW/HW directly without kernel intervention in the common case, thereby reducing context switching overhead. It also allows for greater flexibility in the way work is enqueued in the ringbufs. For example, the current kernel submit path only supports indirect calls, which is inefficient for small command buffers. Userspace can also skip unnecessary sync operations.
This is still a work-in-progress, there's an outstanding issue with multiple processes using different submission flows triggering scheduling bugs (e.g. the same group getting scheduled twice), but we'd love to gather some feedback on the suitability of the approach in general and see if there's a clear path to merging something like this eventually."
Those interested in this user submission work for the Arm Panthor driver can find the RFC patches under review on [1]the mailing list .
[2]Panthor was initially upstreamed in Linux 6.10 as the new DRM driver for supporting newer Arm Mali graphics [3]requiring the Command Stream Frontend (CSF) firmware as a fundamental design shift compared to the earlier Mali graphics hardware.
[1] https://lore.kernel.org/dri-devel/20240828172605.19176-1-mihail.atanassov@arm.com/
[2] https://www.phoronix.com/search/Panthor
[3] https://www.phoronix.com/news/Arm-Mali-Panthor-Firmware-Git
phoronix