mesa/src/panfrost/lib/kmod
Boris Brezillon 0b5f1b6cb1 pan/kmod: Add a PAN_KMOD_VM_FLAG_TRACK_ACTIVITY flag
This flag reflects whether the backend should track the VM activity or
not. Needed if PAN_KMOD_VM_OP_MODE_DEFER_TO_NEXT_IDLE_POINT is used, so
we can insert proper dependencies on our VM operations.

Patch the gallium driver to set this flag at VM creation time since it
calls pan_kmod_vm_bind() with
mode=PAN_KMOD_VM_OP_MODE_DEFER_TO_NEXT_IDLE_POINT in the BO
destruction path.

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.c
pan_kmod.h pan/kmod: Add a PAN_KMOD_VM_FLAG_TRACK_ACTIVITY flag 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