mesa/src/panfrost/lib
Boris Brezillon 4c74d14730 pan/kmod: Make default allocator thread-safe
Allocations targeting a pan_kmod_dev can happen concurrently, so we
need the pan_kmod_dev allocator to be thread-safe.

ralloc() is not thread-safe, and we don't really need a hierarchical
allocator in this context anyway, so let's just switch to calloc/free
instead.

Fixes: d95ec56f8c ("panfrost: Abstract kernel driver operations")
Reported-by: Eric Smith <eric.smith@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Tested-by: Eric Smith <eric.smith@collabora.com>
Reviewed-by: Eric Smith <eric.smith@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28926>
2024-05-07 11:11:28 +00:00
..
genxml panfrost: Add a library to build CSF command streams 2024-03-01 10:42:43 +00:00
kmod pan/kmod: Make default allocator thread-safe 2024-05-07 11:11:28 +00:00
tests panfrost: Make pan_layout.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
.gitignore
meson.build panfrost/meson: remove redundant gallium include from meson files 2024-03-14 17:23:55 +00:00
pan_afbc.c panfrost: Add AFBC packing support for RG formats 2024-02-22 18:23:51 +00:00
pan_attributes.c
pan_blend.c panfrost: derive ht 2024-03-12 19:41:49 +00:00
pan_blend.h panfrost: Make the pan_blend logic panfrost_device-agnostic 2024-01-23 16:32:09 +00:00
pan_blitter.c panfrost: correct first-tracking for signature 2024-04-26 11:18:17 +00:00
pan_blitter.h panfrost: Make pan_blitter.{c,h} panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_clear.c panfrost: pass blendable formats to pan_pack_color 2023-11-06 14:30:28 +01:00
pan_desc.c panfrost: Make pan_desc.{c,h} panfrost_bo agnostic 2024-01-23 16:32:09 +00:00
pan_desc.h panfrost: Make pan_desc.{c,h} panfrost_bo agnostic 2024-01-23 16:32:09 +00:00
pan_earlyzs.c
pan_earlyzs.h
pan_encoder.h panfrost: Make pan_encoder.h panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_format.c panfrost: Don't try to set bifrost blendable format on midgard 2024-01-17 11:07:48 +00:00
pan_format.h panfrost: Move panfrost_is_yuv() to pan_format.h 2024-01-23 16:32:08 +00:00
pan_indirect_dispatch.c panfrost: Make pan_indirect_dispatch panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_indirect_dispatch.h panfrost: Make pan_indirect_dispatch panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_jc.h panfrost: Restrict job chain helpers to JM hardware 2023-12-05 15:55:21 +00:00
pan_layout.c panfrost: Make pan_texture.{c,h} panfrost_bo agnostic 2024-01-23 16:32:09 +00:00
pan_pool.h panfrost: Make pan_pool.h panfrost_{device,bo} agnostic 2024-01-23 16:32:09 +00:00
pan_props.c panfrost: Enable Mali-T600 2024-03-01 23:26:57 +00:00
pan_props.h panfrost: Prepare support for GPU variants 2024-03-01 10:42:43 +00:00
pan_samples.c panfrost: Make pan_sample.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_samples.h panfrost: Make pan_sample.c panfrost_device agnostic 2024-01-23 16:32:09 +00:00
pan_scratch.c
pan_shader.c panfrost: Remove uneeded pan_device.h inclusions 2024-01-23 16:32:09 +00:00
pan_shader.h panfrost: Remove uneeded pan_device.h inclusions 2024-01-23 16:32:09 +00:00
pan_texture.c panfrost: Make pan_texture.{c,h} panfrost_bo agnostic 2024-01-23 16:32:09 +00:00
pan_texture.h panfrost: Make pan_texture.{c,h} panfrost_bo agnostic 2024-01-23 16:32:09 +00:00
pan_tiler.c panfrost: Remove uneeded pan_device.h inclusions 2024-01-23 16:32:09 +00:00
pan_util.c panfrost: Make panfrost_format_to_bifrost_blend() a per-gen helper 2024-01-23 16:32:08 +00:00
pan_util.h panfrost: Make panfrost_format_to_bifrost_blend() a per-gen helper 2024-01-23 16:32:08 +00:00
wrap.h pan/decode: handle more than one panfrost_device 2023-08-14 22:41:10 +00:00