mesa/src/gallium/drivers/radeonsi
Marek Olšák e240620550 util/u_queue: fix util_queue_finish deadlock by merging lock and finish_lock
and by disabling the on-demand thread creation, which breaks the finish logic.

Fixes: 3713dc6b2a - util/u_queue: add UTIL_QUEUE_INIT_SCALE_THREADS flag
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8363

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24173>
(cherry picked from commit bfdfe5aa82)
2023-07-18 22:48:05 +01:00
..
ci radeonsi: fix RB+ and gfx11 issues with framebuffer state 2023-06-20 13:37:59 +01:00
glsl_tests radeonsi: port amdgcn_glslc build to meson 2022-06-02 08:54:08 +00:00
driinfo_radeonsi.h radeonsi: enable glthread by default 2022-09-21 14:54:50 +00:00
gfx10_query.c util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
gfx10_shader_ngg.c radeonsi: fix max scrach lds size calculation when ngg 2023-04-07 03:42:25 +00:00
meson.build radeonsi: add si_nir_lower_vs_inputs 2023-04-03 01:35:06 +00:00
pspdecryptionparam.h gallium: move drivers/radeon/* into drivers/radeonsi/ 2022-04-17 01:27:34 +00:00
radeon_temporal.h gallium: move drivers/radeon/* into drivers/radeonsi/ 2022-04-17 01:27:34 +00:00
radeon_uvd.c radeonsi: Add support for DPB resize 2023-03-08 02:19:58 +00:00
radeon_uvd.h gallium: move radeon_winsys.h into gallium/include/winsys/ 2022-04-17 01:27:34 +00:00
radeon_uvd_enc.c ac/gpu_info: remove redundant uvd_encode 2022-07-27 05:01:38 +00:00
radeon_uvd_enc.h gallium: move drivers/radeon/* into drivers/radeonsi/ 2022-04-17 01:27:34 +00:00
radeon_uvd_enc_1_1.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
radeon_vce.c util/list: rename LIST_ENTRY() to list_entry() 2022-07-28 10:10:44 +00:00
radeon_vce.h gallium: move drivers/radeon/* into drivers/radeonsi/ 2022-04-17 01:27:34 +00:00
radeon_vce_40_2_2.c gallium radeon/r600/omx/va: Adds support for multiple reference encoding 2022-05-17 21:02:25 +00:00
radeon_vce_50.c gallium radeon/r600/omx/va: Adds support for multiple reference encoding 2022-05-17 21:02:25 +00:00
radeon_vce_52.c radeonsi/vce: apply avc seq parameters 2022-10-03 16:45:26 +00:00
radeon_vcn.c radeonsi/vcn: prepare for unified queue in vcn4 2022-06-16 03:30:47 +00:00
radeon_vcn.h radeonsi/vcn: prepare for unified queue in vcn4 2022-06-16 03:30:47 +00:00
radeon_vcn_av1_default.h radeonsi/vcn: adding av1 decoding film grain block 2022-11-14 22:19:53 +00:00
radeon_vcn_dec.c radeonsi/vcn: apply update_decoder_target logic 2023-05-25 17:38:03 +01:00
radeon_vcn_dec.h radeonsi/vcn: use register versions for jpeg 2023-04-06 15:00:53 +00:00
radeon_vcn_dec_jpeg.c radeonsi/vcn: reset to default value when ROI/FC is not used 2023-04-06 15:00:53 +00:00
radeon_vcn_enc.c radeonsi/vcn: add support for 10bit input and enc 8bit output 2022-12-14 07:42:28 +00:00
radeon_vcn_enc.h radeonsi/vcn: add support for 10bit input and enc 8bit output 2022-12-14 07:42:28 +00:00
radeon_vcn_enc_1_2.c radeonsi/vcn: correct cropping for hevc case 2023-05-01 09:02:38 +01:00
radeon_vcn_enc_2_0.c radeonsi/vcn: correct cropping for hevc case 2023-05-01 09:02:38 +01:00
radeon_vcn_enc_3_0.c radeonsi/vcn: support VBAQ modes 2022-08-23 15:56:07 +00:00
radeon_vcn_enc_4_0.c radeonsi/vcn/enc: add encoder statistics support 2022-11-28 19:58:41 +00:00
radeon_video.c radeonsi: Add support for DPB resize 2023-03-08 02:19:58 +00:00
radeon_video.h radeonsi: Add support for DPB resize 2023-03-08 02:19:58 +00:00
si_blit.c radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot() 2023-07-16 22:11:49 +01:00
si_buffer.c radeonsi: remove Smart Access Memory because CPU access has large overhead 2023-03-03 00:41:49 +00:00
si_build_pm4.h radeonsi: don't use SET_SH_REG_INDEX on gfx7-9 2023-06-07 11:14:20 +02:00
si_clear.c radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot() 2023-07-16 22:11:49 +01:00
si_compute.c radeonsi: implement get_compute_state_info 2023-04-11 20:44:36 +00:00
si_compute.h gallium: drop pipe_compute_state.req_private_mem 2022-11-02 23:36:56 +00:00
si_compute_blit.c radeonsi: don't convert L8A8 to R8A8 when blitting via compute to fix gfx7 2023-06-20 13:31:11 +01:00
si_cp_dma.c radeonsi: use the new flag AMDGPU_GEM_CREATE_DISCARDABLE 2022-05-16 07:03:39 -04:00
si_cp_reg_shadowing.c radeonsi: merge si_emit_initial_compute_regs with si_init_cs_preamble_state 2023-03-08 07:29:09 +00:00
si_debug.c util: Replace the usage of os_get_command_line with util_get_command_line 2022-11-15 19:55:01 +00:00
si_debug_options.h radeonsi: simplify radeonsi_zerovram implementation 2022-09-21 14:54:50 +00:00
si_descriptors.c radeonsi: add an emulated image descriptor for gfx940 2023-04-06 15:00:53 +00:00
si_fence.c amd: sort and re-indent packet definitions 2023-02-03 00:18:02 +00:00
si_get.c radeonsi: lower mul_high 2023-04-26 17:37:26 +01:00
si_gfx_cs.c radeonsi: fix RB+ and gfx11 issues with framebuffer state 2023-06-20 13:37:59 +01:00
si_gpu_load.c util/c11: Update function u_thread_create to be c11 conformance 2022-06-15 17:37:17 +00:00
si_nir_lower_abi.c radeonsi: expose si_nir_load_internal_binding 2023-04-03 01:35:06 +00:00
si_nir_lower_resource.c radeonsi: lower nir_texop_sampler_descriptor_amd 2023-03-08 07:29:09 +00:00
si_nir_lower_vs_inputs.c radeonsi: add si_nir_lower_vs_inputs 2023-04-03 01:35:06 +00:00
si_nir_optim.c radeonsi: deserialize nir binary in si_check_blend_dst_sampler_noop 2022-06-27 02:38:21 +00:00
si_perfcounter.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
si_pipe.c util/u_queue: fix util_queue_finish deadlock by merging lock and finish_lock 2023-07-18 22:48:05 +01:00
si_pipe.h radeonsi: fix refcnt imbalance related to util_blitter_save_fragment_constant_buffer_slot() 2023-07-16 22:11:49 +01:00
si_pm4.c radeonsi: don't use PKT3_SET_SH_REG_INDEX on gfx9 and older 2023-03-08 10:56:21 +00:00
si_pm4.h radeonsi: add si_pm4_set_reg_va to simplify setting reg_va_low_idx for RGP 2023-03-03 00:41:49 +00:00
si_public.h
si_query.c amd,radeonsi: change enabled_rb_mask to 64 bits 2023-03-03 00:41:48 +00:00
si_query.h radeonsi: simplify how pipeline statistic offsets are computed 2022-06-11 11:14:16 +00:00
si_sdma_copy_image.c radeonsi: SDMA v4 size field is size - 1 2023-03-02 15:29:47 +00:00
si_shader.c radeonsi: use default float mode for CL 2023-04-11 20:44:36 +00:00
si_shader.h radeonsi: remove unused vs_output_param_mask 2023-03-17 23:58:28 +00:00
si_shader_info.c radeonsi: emulate VGT_ESGS_RING_ITEMSIZE in the shader on gfx9-11 2023-03-08 07:29:09 +00:00
si_shader_internal.h radeonsi: use default float mode for CL 2023-04-11 20:44:36 +00:00
si_shader_llvm.c radeonsi: fix uses_instanceid for merged mono shader stage 2023-05-31 11:47:20 +01:00
si_shader_llvm_gs.c radeonsi: emulate VGT_ESGS_RING_ITEMSIZE in the shader on gfx9-11 2023-03-08 07:29:09 +00:00
si_shader_llvm_ps.c radeonsi: monolithic PS emit epilog in nir directly 2023-03-28 19:57:11 +00:00
si_shader_llvm_tess.c radeonsi: monolithic TCS emit tessfactor in nir directly 2023-03-16 04:33:31 +00:00
si_shader_llvm_vs.c ac/llvm,radeonsi: remove abi->load_inputs implementation 2023-04-03 01:35:06 +00:00
si_shader_nir.c radeonsi: lower mul_high 2023-04-26 17:37:26 +01:00
si_shaderlib_nir.c radeonsi: rework MSAA resolve averaging to exploit instruction-level parallelism 2023-03-15 13:16:34 +00:00
si_shaderlib_tgsi.c radeonsi: fix memory leak related to ureg_get_tokens() 2023-03-15 06:41:28 +00:00
si_sqtt.c radeonsi/sqtt: implement offset workaround for gfx11 2023-01-18 13:36:50 +00:00
si_state.c radeonsi: don't set registers that don't exist on gfx940 2023-04-06 15:00:53 +00:00
si_state.h radeonsi: set PA_SU_VTX_CNTL consecutively with PA_CL_GB_VERT_CLIP_ADJ 2023-02-24 21:27:23 +00:00
si_state_binning.c radeonsi: reindent code in si_state_binning.c 2023-03-03 00:41:49 +00:00
si_state_draw.cpp radeonsi: correct an assertion if we get a display list with no vertex buffers 2023-03-15 13:16:34 +00:00
si_state_msaa.c radeonsi: remove the unused cs parameter from radeon_set_(config|context)_reg 2021-09-25 08:32:03 +00:00
si_state_shaders.cpp ac/nir: implement image opcode emulation for CDNA, enable it in radeonsi 2023-04-06 15:00:53 +00:00
si_state_streamout.c amd/llvm,radeonsi/gfx11: switch to using GDS_STRMOUT registers 2023-03-07 22:08:47 +00:00
si_state_viewport.c radeonsi: reformat emit_cb_render_state, create_blend_state, create_rs_state 2023-02-24 21:27:24 +00:00
si_test_dma_perf.c radeonsi: rename RADEON_FLAG_UNCACHED -> RADEON_FLAG_GL2_BYPASS 2022-05-16 07:03:36 -04:00
si_test_image_copy_region.c radeonsi: fix AMD_TEST=computeblit being rejected on gfx < 11 2023-03-15 13:16:34 +00:00
si_texture.c radeonsi: add an emulated image descriptor for gfx940 2023-04-06 15:00:53 +00:00
si_uvd.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00