mesa/src/broadcom/vulkan
Iago Toral Quiroga b78fd50e90 v3dv: do a better job at cleaning up the device on init failure
These leaks on device creation failure have been there before, but
were only exposed as CTS failures after the recent event refactoring.

Partially fixes:
dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail.basic
dEQP-VK.api.object_management.alloc_callback_fail.device
dEQP-VK.api.object_management.alloc_callback_fail.device_group

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19458>
2022-11-03 14:16:11 +01:00
..
.dir-locals.el v3dv: add v3d vulkan driver skeleton 2020-10-13 21:21:24 +00:00
.editorconfig v3dv: add v3d vulkan driver skeleton 2020-10-13 21:21:24 +00:00
meson.build v3dv: split event implementation to a separate file 2022-10-28 10:55:37 +00:00
v3dv_android.c v3dv: Use the common physical device enumeration 2022-08-30 19:34:47 +00:00
v3dv_bo.c v3dv/bo: reduce DEFAULT_MAX_BO_CACHE_SIZE to 64 2022-09-05 22:25:09 +00:00
v3dv_bo.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_cl.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_cl.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_cmd_buffer.c v3dv: split event implementation to a separate file 2022-10-28 10:55:37 +00:00
v3dv_debug.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_debug.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_descriptor_set.c v3dv: drop layout refs for all allocated sets from a pool on destroy / reset 2022-10-27 11:35:29 +00:00
v3dv_device.c v3dv: do a better job at cleaning up the device on init failure 2022-11-03 14:16:11 +01:00
v3dv_event.c v3dv: avoid freeing already-freed memory 2022-11-03 14:16:11 +01:00
v3dv_formats.c v3d: introduce V3D_DBG() macro to make V3D_DEBUG checks consistent 2022-08-24 23:03:57 +00:00
v3dv_image.c v3dv: fix swap_rb and channel_reverse flags in image views 2022-09-06 06:33:38 +00:00
v3dv_limits.h v3dv: Use util/os_time helpers 2022-04-13 17:22:14 +00:00
v3dv_meta_clear.c v3dv: postpone tile state allocation for render pass jobs 2022-08-15 23:35:16 +00:00
v3dv_meta_common.h v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dv_meta_copy.c v3dv: postpone tile state allocation for render pass jobs 2022-08-15 23:35:16 +00:00
v3dv_pass.c v3dv: add a heuristic for double-buffer mode 2022-08-15 23:35:16 +00:00
v3dv_pipeline.c v3dv: implement VK_EXT_pipeline_robustness 2022-10-27 08:17:11 +00:00
v3dv_pipeline_cache.c v3dv: Use the common physical device enumeration 2022-08-30 19:34:47 +00:00
v3dv_private.h v3dv: split event implementation to a separate file 2022-10-28 10:55:37 +00:00
v3dv_query.c v3dv: use updated tokens from vk.xml 2022-07-12 15:53:11 +00:00
v3dv_queue.c v3dv: refactor events 2022-10-28 08:35:00 +02:00
v3dv_uniforms.c v3dv: implement VK_EXT_depth_clip_control 2022-09-09 10:03:58 +00:00
v3dv_wsi.c v3dv: Use the common physical device enumeration 2022-08-30 19:34:47 +00:00
v3dvx_cmd_buffer.c v3dv: don't load an attachment for unaligned render area if we are not storing 2022-09-14 13:48:45 +00:00
v3dvx_descriptor_set.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dvx_device.c v3dv/v3d: Fix copyright holder to Raspberry Pi Ltd 2022-02-18 11:50:07 +01:00
v3dvx_formats.c v3dv: clean up get_internal_type_bpp_for_image_aspects 2022-07-13 10:09:34 +00:00
v3dvx_image.c v3d,v3dv: stop copying and pasting the translate_swizzle helper 2022-07-13 10:09:34 +00:00
v3dvx_meta_common.c v3dv: postpone tile state allocation for render pass jobs 2022-08-15 23:35:16 +00:00
v3dvx_pipeline.c v3dv: Remove redundant unreachable in v3dvx_pipeline.c 2022-09-01 03:00:36 +00:00
v3dvx_private.h v3dv: add a heuristic for double-buffer mode 2022-08-15 23:35:16 +00:00
v3dvx_queue.c v3dv: postpone tile state allocation for render pass jobs 2022-08-15 23:35:16 +00:00