mesa/src/amd
Benjamin Cheng e57caf9893 radv: initialize cmd_buffer upload list earlier
When cs allocation fails in radv_create_cmd_buffer,
radv_destroy_cmd_buffer is called before returning
VK_ERROR_OUT_OF_HOST_MEMORY. At that point, the upload list is not
initalized yet, so SIGSEGV will occur when trying to iterate through the
upload bo list. Initialize the upload list earlier to avoid this.

Signed-off-by: Benjamin Cheng <ben@bcheng.me>
Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22016>
2023-03-21 08:06:24 +00:00
..
addrlib amd: split GFX1103 into GFX1103_R1 and GFX1103_R2 2023-02-03 00:18:01 +00:00
ci ci: Uprev Piglit 2023-03-20 04:19:23 +00:00
common amd/common: fix a typo 2023-03-20 20:30:32 +00:00
compiler aco: set needs_flat_scr=true for RT 2023-03-17 16:55:57 +00:00
drm-shim r300: use drm_shim_override 2022-11-16 14:37:47 +00:00
llvm ac/llvm,radeonsi: lower nir_load_ring_tess_factors_amd 2023-03-16 04:33:30 +00:00
registers amd/registers: only define SPI and COMPUTE registers in the 0xB000 range 2023-02-24 21:27:24 +00:00
vulkan radv: initialize cmd_buffer upload list earlier 2023-03-21 08:06:24 +00:00
.clang-format radv: Add nir_foreach_variable_with_modes to .clang-format 2022-12-09 07:07:10 +00:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00