Skip to content

Draft: drm/panthor: Add a new driver for Mali CSF harware

Boris Brezillon requested to merge panthor into drm-misc-next

Mali v10 (second Valhal iteration) and later GPUs replaced the Job Manager block by a command stream based interface called CSF (for Command Stream Frontend). This interface is not only turning the job chain based submission model into a command stream based one, but also introducing FW-assisted scheduling of command stream queues. This is a fundamental shift in both how userspace is supposed to submit jobs, but also how the driver is architectured. We initially tried to retrofit the CSF model into panfrost, but this ended up introducing unneeded complexity to the existing driver, which we all know is a potential source of regression.

So here comes a brand new driver for CSF-based hardware. This is a preliminary version and some important features are missing (like devfreq, PM support and a memory shrinker implem, to name a few).

Signed-off-by: Boris Brezillon's avatarBoris Brezillon boris.brezillon@collabora.com Cc: Steven Price steven.price@arm.com Cc: Robin Murphy robin.murphy@arm.com Cc: Daniel Vetter daniel@ffwll.ch Cc: Daniel Stone daniels@collabora.com Cc: Faith Ekstrand faith.ekstrand@collabora.com

/cc @dliviu

Edited by Boris Brezillon

Merge request reports