mesa/src/panfrost/lib/kmod
Boris Brezillon 97f6a62f7e pan/kmod: Add a backend for panthor
Panthor is a new kernel driver handling CSF-based GPUs. It's designed
around the new VM model where:

- VM management is all explicit (you get to choose where objects are
  mapped in the GPU VA space)
- synchronization is explicit too (there's not BO_WAIT, and we don't
  pass BOs around to serve as implicit deps)

We add a few panthor specific helpers (those exposed in panthor_kmod.h)
too:

- panthor_kmod_xxx_sync_point() are needed to make pan_kmod_bo_wait()
  work with the new synchronization/VM model
- panthor_kmod_get_flush_id() is exposing the LATEST_FLUSH_ID register
- panthor_kmod_vm_handle() is providing a way to query the VM handle
  attached to the pan_kmod_vm object (needed for a few panthor ioctls)

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26358>
2024-03-01 10:42:43 +00:00
..
meson.build pan/kmod: Add a backend for panthor 2024-03-01 10:42:43 +00:00
pan_kmod.c pan/kmod: Add a backend for panthor 2024-03-01 10:42:43 +00:00
pan_kmod.h pan/kmod: Add a backend for panthor 2024-03-01 10:42:43 +00:00
pan_kmod_backend.h pan/kmod: Fix typo in pan_kmod_vm_op_check() helper 2024-03-01 10:42:43 +00:00
panfrost_kmod.c panfrost: Rework the way we compute thread info 2024-03-01 10:42:43 +00:00
panthor_kmod.c pan/kmod: Add a backend for panthor 2024-03-01 10:42:43 +00:00
panthor_kmod.h pan/kmod: Add a backend for panthor 2024-03-01 10:42:43 +00:00