mesa/src/broadcom
Juan A. Suarez Romero 985a5c8f1a broadcom/simulator: protect simulator BO rallocs with mutexes
Move ralloc allocations and frees for BOs into the critical sections
protected with mutexes.

This fixes several double-free and use-after-free crashes that happens
sometimes when using the simulator to run Vulkan CTS tests, specially
when these tests involve multithreading, like
`dEQP-VK.api.object_management.multithreaded_per_thread_resources.device_memory_small`.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27070>
2024-01-15 12:52:34 +00:00
..
ci v3d/vc4/ci: reset the list of timeout tests 2024-01-12 09:33:39 +00:00
cle broadcom/compiler: remove include of gallium headers from meson.build 2023-12-12 10:03:11 +00:00
clif broadcom: only support v42 and v71 2023-11-02 11:59:08 +01:00
common v3d/v3dv: move V3D_CSD definitions to a separate file 2023-12-14 16:43:13 +00:00
compiler v3dv: implement VK_EXT_shader_demote_to_helper_invocation 2024-01-09 13:22:37 +00:00
drm-shim broadcom/compiler: remove include of gallium headers from meson.build 2023-12-12 10:03:11 +00:00
qpu broadcom/compiler: remove include of gallium headers from meson.build 2023-12-12 10:03:11 +00:00
simulator broadcom/simulator: protect simulator BO rallocs with mutexes 2024-01-15 12:52:34 +00:00
vulkan v3dv: expose VK_EXT_subgroup_size_control 2024-01-11 07:21:36 +00:00
.editorconfig
meson.build broadcom/compiler: remove include of gallium headers from meson.build 2023-12-12 10:03:11 +00:00