mesa/src/panfrost/lib/kmod
Boris Brezillon ea23d4f04e pan/kmod: Try to use local storage in panthor_kmod_vm_bind()
panthor_kmod_vm_bind() is usually called with a single op and at most
one sync, so let's optimize the low-number-of-ops-or-syncs case to
avoid transient heap allocation.

This also fixes some dEQP-VK.api.object_management.alloc_callback_fail.*
crashes where panthor_kmod_vm_bind(UNBIND) is called and not expected
to fail.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31382>
2024-10-01 14:36:38 +00:00
..
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
pan_kmod.c pan/kmod: Make default allocator thread-safe 2024-05-07 11:11:28 +00:00
pan_kmod.h pan/kmod: Add priority query uapi support 2024-09-26 10:21:19 +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 pan/kmod: Add timestamp uapi support 2024-09-09 09:15:47 +02:00
panthor_kmod.c pan/kmod: Try to use local storage in panthor_kmod_vm_bind() 2024-10-01 14:36:38 +00:00
panthor_kmod.h pan/kmod: Add a backend for panthor 2024-03-01 10:42:43 +00:00