mesa/src/amd/vulkan
Samuel Pitoiset fec9b56f17 radv/amdgpu: fix chaining CS with external IBs on compute queue
In a scenario where two non-concurrent cmdbufs are submitted to the
compute queue and with the second one using DGCC, the driver would have
chained the CS of the first cmdbuf to the new IB created right after
the DGC IB is executed.

Found while working on DGC task shader with vkd3d-proton.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29913>
2024-06-26 17:03:10 +00:00
..
bvh meson: use glslang --depfile argument when possible 2024-05-20 17:34:17 +00:00
layers radv/rra: Reduce the memory requirement of copy_after_build 2024-06-21 17:47:53 +00:00
meta radv/meta: Use READ access for dst_access_flush 2024-06-21 12:52:39 +00:00
nir treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
radix_sort meson: use glslang --depfile argument when possible 2024-05-20 17:34:17 +00:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv/amdgpu: fix chaining CS with external IBs on compute queue 2024-06-26 17:03:10 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build build/amd: add amd-use-llvm build option 2024-05-30 19:05:00 +00:00
radv_acceleration_structure.c radv: Remove dead access bits 2024-06-21 12:52:39 +00:00
radv_aco_shader_info.h radv: update configuring COVERAGE_TO_SHADER_SELECT on GFX12 2024-06-06 15:42:35 +00:00
radv_android.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_android.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_buffer.c radv: Store range rather than bo_size in VkBuffer/VkImage. 2024-04-16 16:29:57 +02:00
radv_buffer.h radv: Store range rather than bo_size in VkBuffer/VkImage. 2024-04-16 16:29:57 +02:00
radv_buffer_view.c radv: use new common helpers for building buffer descriptor 2024-05-22 08:31:39 +00:00
radv_buffer_view.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_check_va.py
radv_cmd_buffer.c radv/amdgpu: allow cs_execute_ib() to pass a VA instead of a BO 2024-06-24 08:02:07 +00:00
radv_cmd_buffer.h radv/rra: Reduce the memory requirement of copy_after_build 2024-06-21 17:47:53 +00:00
radv_constants.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cp_dma.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cp_dma.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cp_reg_shadowing.c radv: do not emulate clear state for shadowed regs on GFX12 2024-05-30 11:05:04 +00:00
radv_cp_reg_shadowing.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cs.c radv: don't assume that TC_ACTION_ENA invalidates L1 cache on gfx9 2024-06-11 06:15:12 +00:00
radv_cs.h radv: rename radeon perfctr uconfig helpers 2024-05-15 11:34:35 +00:00
radv_debug.c radv: use new common helpers for building buffer descriptor 2024-05-22 08:31:39 +00:00
radv_debug.h radv: Trace indirect dispatch sizes 2024-04-25 10:20:03 +00:00
radv_descriptor_set.c radv: fix incorrect buffer_list advance for multi-planar descriptors 2024-06-14 06:14:30 +00:00
radv_descriptor_set.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_device.c radv: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_device.h ac,radv,radeonsi: a function that sets mutable CB surface fields 2024-05-28 08:49:53 +00:00
radv_device_generated_commands.c radv: fix emitting indirect descriptor sets in the DGC prepare shader 2024-06-20 06:33:51 +00:00
radv_device_generated_commands.h radv: remove dynamic uniform/storage buffers support with DGC 2024-06-17 06:13:57 +00:00
radv_device_memory.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_device_memory.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_event.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_event.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_formats.c radv: allow STORAGE for depth formats 2024-05-30 11:30:23 +00:00
radv_formats.h radv: use PIPE_FORMAT in radv_translate_tex_dataformat() 2024-05-24 17:04:54 +02:00
radv_image.c radv: mark all images coherent with TC L2 on GFX12 2024-05-31 08:02:33 +00:00
radv_image.h radv: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_image_view.c radv: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_image_view.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_instance.c radv: emit discard as demote by default 2024-06-17 19:37:15 +00:00
radv_instance.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_llvm_helper.cpp radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_llvm_helper.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_nir_to_llvm.c ac/llvm: use new s_wait instructions and split the existing ones for gfx12 2024-05-11 22:14:05 -04:00
radv_nir_to_llvm.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_perfcounter.c radv: only emit SQ_PERFCOUNTER_MASK on GFX7-9 2024-06-06 07:58:00 +02:00
radv_perfcounter.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_physical_device.c radv: allow VK_NV_device_generated_commands_{compute} with LLVM 2024-06-17 12:02:10 +00:00
radv_physical_device.h amd/common: add ac_gpu_info::has_etc_support 2024-05-24 17:04:54 +02:00
radv_pipeline.c radv: lower push constants in NIR 2024-06-20 12:09:28 +00:00
radv_pipeline.h ac: move radv_mem_vectorize_callback to common code 2024-05-21 18:20:30 +00:00
radv_pipeline_cache.c radv/rt: rework the helper that hashes a ray tracing pipeline 2024-04-26 07:40:09 +00:00
radv_pipeline_cache.h radv/rt: rework the helper that hashes a ray tracing pipeline 2024-04-26 07:40:09 +00:00
radv_pipeline_compute.c radv: emit indirect sets for indirect compute pipelines with DGC 2024-06-18 13:50:16 +00:00
radv_pipeline_compute.h radv: emit indirect sets for indirect compute pipelines with DGC 2024-06-18 13:50:16 +00:00
radv_pipeline_graphics.c radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_pipeline_graphics.h radv: make radv_pipeline_has_ngg static 2024-05-14 23:42:25 +00:00
radv_pipeline_rt.c radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_pipeline_rt.h radv/rt: move radv_ray_tracing_pipeline::sha1 to radv_pipeline 2024-04-22 13:54:05 +00:00
radv_printf.c radv: move radv_printf_data to radv_printf.h 2024-04-05 12:18:38 +00:00
radv_printf.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_query.c radv: fix waiting for occlusion queries on GFX6-8 2024-04-19 07:36:37 +00:00
radv_query.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_queue.c radv: emit SPI_GS_THROTTLE_CNTL1 when the attr ring is emitted 2024-06-13 10:24:11 +00:00
radv_queue.h radv: Remove radv_queue::device again 2024-05-12 09:58:22 +00:00
radv_radeon_winsys.h radv/amdgpu: allow cs_execute_ib() to pass a VA instead of a BO 2024-06-24 08:02:07 +00:00
radv_rmv.c radv: Store range rather than bo_size in VkBuffer/VkImage. 2024-04-16 16:29:57 +02:00
radv_rmv.h radv/rmv: fix image binds logging for disjoint images 2024-04-10 11:23:40 +00:00
radv_rra.c radv/rra: Enable RADV_RRA_TRACE_COPY_AFTER_BUILD by default 2024-06-21 17:47:53 +00:00
radv_rra.h radv/rra: Reduce the memory requirement of copy_after_build 2024-06-21 17:47:53 +00:00
radv_sampler.c ac,radv,radeonsi: introduce a helper to build a sampler descriptor 2024-05-17 13:43:12 +00:00
radv_sampler.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_sdma.c radv: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_sdma.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_shader.c nir/shader_info: remove uses_demote 2024-06-17 19:37:16 +00:00
radv_shader.h radv: update configuring COVERAGE_TO_SHADER_SELECT on GFX12 2024-06-06 15:42:35 +00:00
radv_shader_args.c radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_shader_args.h radv: declare a new user SGPR for the streamout state buffer on GFX12 2024-06-17 14:46:36 +00:00
radv_shader_info.c radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_shader_info.h radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_shader_object.c radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_shader_object.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_spm.c radv: rename radeon perfctr uconfig helpers 2024-05-15 11:34:35 +00:00
radv_spm.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_sqtt.c radv: use the common SQTT implementation 2024-06-11 06:46:55 +00:00
radv_sqtt.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_video.c ac/radv/radeon: move film grain init to common code. 2024-06-19 20:51:53 +00:00
radv_video.h radv/video: Avoid resetting rate control every frame 2024-04-19 09:51:06 +00:00
radv_video_enc.c radv/video: use vcn ip versions for encoder detection. 2024-06-19 20:51:52 +00:00
radv_wsi.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_wsi.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00