mesa/src/amd/vulkan
Pierre-Eric Pelloux-Prayer 6c3a294eef radv: don't remove the blit queue from the device queues
I don't remember why I implemented it like this in !13959, but
AFAICT there's no need to manually remove this queue from vk_device's
queues list.

On the other hand, this hack causes issues if syncobj timeline isn't
supported; amdgpu always support timeline, but amdgpu over virtio-gpu
doesn't.

The issue is as follow: the sequence in vk_queue.c:

   case VK_QUEUE_SUBMIT_MODE_DEFERRED:
      vk_queue_push_submit(queue, submit);
      return vk_device_flush(queue->base.device);

Would fail to produce the expected result, because vk_device_flush would
fail to realize that the blit queue has some pending work because
"vk_foreach_queue(queue, device)" would never process the queue.

Then, the call to vk_drm_syncobj_export_sync_file() would fail, because
the syncobj handle was never used in a submit.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27412>
2024-02-09 09:20:52 +01:00
..
bvh radv/rt: Optimize update shader VGPR usage 2024-02-05 21:14:45 +01:00
layers radv/sqtt: fix describing queue submits for RGP 2024-02-05 07:32:48 +00:00
meta radv: Use secure_getenv in radv_builtin_cache_path 2024-01-31 17:28:12 +00:00
nir radv/nir: lower esgs_vertex_stride for GS compiled separately on GFX9+ 2024-02-08 13:33:34 +00:00
radix_sort radv: Emit user events during acceleration structure builds 2024-01-31 10:24:15 +01:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv: don't submit 0 length on UVD either. 2024-02-05 08:14:26 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build radv: add support for creating/destroying shader objects 2024-01-26 08:56:54 +00:00
radv_acceleration_structure.c radv: Skip unused acceleration structure build paths 2024-01-31 10:24:20 +01:00
radv_aco_shader_info.h radv: add optimisations_disabled to radv_shader_stage_key 2024-01-15 11:49:04 +00:00
radv_android.c radv: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
radv_buffer.c radv: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
radv_buffer_view.c radv: move buffer view related code to radv_buffer_view.c 2023-12-19 09:48:35 +00:00
radv_check_va.py
radv_cmd_buffer.c radv: add support for emitting VS+GS compiled separately on GFX9+ 2024-02-08 13:33:34 +00:00
radv_constants.h radv: move SI_GS_PER_ES to radv_constants.h 2023-12-19 09:48:35 +00:00
radv_cp_reg_shadowing.c radv: correctly return oom from the device when failing to create a cs 2023-10-27 15:29:32 +00:00
radv_cs.h ac: Remove CIK prefix from SDMA opcodes. 2023-11-18 17:11:00 +01:00
radv_debug.c radv: export GPU hang reports through VK_EXT_device_fault 2024-01-31 08:45:08 +01:00
radv_debug.h radv: add RADV_DEBUG=nongg_gs for GFX10/GFX10.3 2024-02-09 07:24:16 +00:00
radv_descriptor_set.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_descriptor_set.h radv: move more descriptor related declarations to radv_descriptor_set.h 2023-12-19 09:48:34 +00:00
radv_device.c radv/rra: Dump basic ray history tokens 2024-02-03 12:59:47 +01:00
radv_device_generated_commands.c radv: only load 3x32-bit elements when emitting draws with mesh shader 2024-02-08 18:04:15 +00:00
radv_device_memory.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_event.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_formats.c Revert "radv: disable DCC with signedness reinterpretation on GFX11" 2024-01-08 08:02:58 +00:00
radv_image.c radv/uvd: uvd kernel checks for full dpb allocation. 2024-02-05 08:14:26 +00:00
radv_image_view.c radv: add a workaround for mipmaps and minLOD on GFX6-8 2024-02-02 18:06:25 +00:00
radv_instance.c radv: add radv_disable_ngg_gs and enable it for Persona 3 Reload 2024-02-09 07:24:16 +00:00
radv_llvm_helper.cpp radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
radv_llvm_helper.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_nir_to_llvm.c radv: Rename radv_nir_compiler_options::robust_buffer_access to robust_buffer_access_llvm 2023-07-04 21:04:21 +01:00
radv_perfcounter.c radv: drop si_ prefix from all functions 2024-01-04 08:40:37 +00:00
radv_physical_device.c radv: enable VK_KHR_shader_quad_control 2024-02-09 05:32:35 +00:00
radv_pipeline.c radv: add radv_shader_stage::next_stage field 2024-01-26 08:56:54 +00:00
radv_pipeline_cache.c radv: Implement NIR caching behind RADV_PERFTEST=nircache. 2024-01-26 11:46:18 +00:00
radv_pipeline_compute.c radv: add support for creating/destroying shader objects 2024-01-26 08:56:54 +00:00
radv_pipeline_graphics.c radv: add RADV_DEBUG=nongg_gs for GFX10/GFX10.3 2024-02-09 07:24:16 +00:00
radv_pipeline_rt.c radv/rra: Dump basic ray history tokens 2024-02-03 12:59:47 +01:00
radv_printf.c radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_private.h radv: remove unused radv_indirect_command_layout::state_offset 2024-02-08 18:04:15 +00:00
radv_query.c radv: Ensure vkGetQueryPoolResults returns in finite-time 2024-01-19 07:52:01 +00:00
radv_queue.c radv: don't submit 0 length on UVD either. 2024-02-05 08:14:26 +00:00
radv_radeon_winsys.h radv/amdgpu: Remove ctx_query_reset_status 2024-01-19 07:52:01 +00:00
radv_rmv.c radv/rmv: Fix tracing ray tracing pipelines 2024-01-08 19:29:13 +00:00
radv_rra.c radv/rra: Implement ahit/isec counters 2024-02-03 12:59:47 +01:00
radv_sampler.c radv: Fix compilation with gcc-13 and tsan enabled 2024-01-30 20:42:07 +00:00
radv_sdma.c radv: Implement T2T scanline copy workaround. 2024-01-08 16:00:15 +01:00
radv_sdma.h radv: Implement T2T scanline copy workaround. 2024-01-08 16:00:15 +01:00
radv_shader.c radv: enable VK_KHR_shader_quad_control 2024-02-09 05:32:35 +00:00
radv_shader.h radv: add support for emitting VS+GS compiled separately on GFX9+ 2024-02-08 13:33:34 +00:00
radv_shader_args.c radv: force GS stage for VS as ES compiled separately on GFX9+ 2024-02-08 13:33:34 +00:00
radv_shader_args.h radv: add a new user SGPR for the ESGS ring item size 2024-02-08 13:33:34 +00:00
radv_shader_info.c radv: set the default workgroup size for VS/TES as ES 2024-02-06 20:12:38 +00:00
radv_shader_object.c radv: remove radv_graphics_state_key::dynamic_patch_control_points 2024-02-02 08:53:20 +00:00
radv_spm.c radv: add SPM support for GFX11 2023-09-25 09:05:58 +02:00
radv_sqtt.c radv: drop si_ prefix from all functions 2024-01-04 08:40:37 +00:00
radv_video.c radv: fix correct padding on uvd 2024-02-05 08:14:26 +00:00
radv_wsi.c radv: don't remove the blit queue from the device queues 2024-02-09 09:20:52 +01:00
si_cmd_buffer.c radv: add a helper to know if device fault detection is enabled 2024-01-31 08:41:54 +01:00
vk_format.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00