mesa/src/amd/vulkan
Andres Rodriguez a2c6fbb3ee radv: disable implicit sync for radv allocated bos v3
Implicit sync kicks in when a buffer is used by two different amdgpu
contexts simultaneously. Jobs that use explicit synchronization
mechanisms end up needlessly waiting to be scheduled for long periods
of time in order to achieve serialized execution.

This patch disables implicit synchronization for all radv allocations
except for wsi bos. The only systems that require implicit
synchronization are DRI2/3 and PRIME.

v2: mark wsi bos as RADV_MEM_IMPLICIT_SYNC
v3: Add drm version check (Bas)

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2017-10-21 01:15:54 +02:00
..
winsys/amdgpu radv: disable implicit sync for radv allocated bos v3 2017-10-21 01:15:54 +02:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
.gitignore radv: port to using updated anv entrypoint/extension generator. 2017-10-17 16:50:32 +10:00
dev_icd.json.in meson: generate builddir/src/amd/vulkan/dev_icd.json 2017-10-05 23:46:21 +02:00
Makefile.am radv: port to using updated anv entrypoint/extension generator. 2017-10-17 16:50:32 +10:00
Makefile.sources radv: port to using updated anv entrypoint/extension generator. 2017-10-17 16:50:32 +10:00
meson.build meson: s/radv_extensions/radv_extensions_c/ to respect var convention 2017-10-17 19:07:09 +01:00
radeon_icd.json.in radv: Suffix the radeon_icd file with the host CPU 2016-11-09 21:36:45 +00:00
radv_cmd_buffer.c radv: use optimal packet order for draws 2017-10-20 20:07:53 +02:00
radv_cs.h amd: move r600d_common.h into r600g 2017-10-09 16:27:06 +02:00
radv_debug.c radv: remove duplicate debug_flags field 2017-10-12 08:52:38 +11:00
radv_debug.h radv: dump SPIRV when a GPU hang is detected 2017-10-04 19:37:08 +02:00
radv_descriptor_set.c radv: Don't use a virtual function for getting the buffer virtual address. 2017-09-20 22:04:25 +02:00
radv_descriptor_set.h radv: Only enter the immutable samplers init loop when we have some. 2017-09-20 22:04:25 +02:00
radv_device.c radv: disable implicit sync for radv allocated bos v3 2017-10-21 01:15:54 +02:00
radv_entrypoints_gen.py radv: port to using updated anv entrypoint/extension generator. 2017-10-17 16:50:32 +10:00
radv_extensions.py radv: Expose VK_EXT_global_priority 2017-10-21 01:01:44 +02:00
radv_formats.c radv: Add R16G16B16A16_SNORM fast clear support 2017-10-11 07:29:43 +10:00
radv_image.c radv: do not allocate CMASK for non-MSSA images with 128 bit formats 2017-10-14 12:25:48 +02:00
radv_meta.c radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags 2017-10-06 09:49:06 +02:00
radv_meta.h radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags 2017-10-06 09:49:06 +02:00
radv_meta_blit.c radv: add radv_meta_save() helper 2017-10-06 09:49:06 +02:00
radv_meta_blit2d.c radv: remove useless checks around radv_CmdBindPipeline() 2017-10-04 23:18:51 +02:00
radv_meta_buffer.c radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags 2017-10-06 09:49:06 +02:00
radv_meta_bufimage.c radv: remove XtoY_temps structs 2017-10-18 11:22:39 +02:00
radv_meta_clear.c radv: do not allocate CMASK for non-MSSA images with 128 bit formats 2017-10-14 12:25:48 +02:00
radv_meta_copy.c radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags 2017-10-06 09:49:06 +02:00
radv_meta_decompress.c radv: add radv_meta_save() helper 2017-10-06 09:49:06 +02:00
radv_meta_fast_clear.c radv: add radv_meta_save() helper 2017-10-06 09:49:06 +02:00
radv_meta_resolve.c radv: add radv_meta_save() helper 2017-10-06 09:49:06 +02:00
radv_meta_resolve_cs.c radv: convert all COMPUTE operations to the RADV_META_SAVE_XXX flags 2017-10-06 09:49:06 +02:00
radv_meta_resolve_fs.c radv: add radv_meta_save() helper 2017-10-06 09:49:06 +02:00
radv_pass.c radv: Store multiview info in renderpass. 2017-08-24 19:20:47 +02:00
radv_pipeline.c radv: calculate and emit GFX9 GS registers to pipeline state. 2017-10-20 06:23:47 +01:00
radv_pipeline_cache.c radv: Do not read from the disk cache with RADV_DEBUG=nocache. 2017-10-18 20:37:10 +02:00
radv_private.h radv: factor out radv_alloc_memory 2017-10-21 01:15:49 +02:00
radv_query.c amd: move r600d_common.h into r600g 2017-10-09 16:27:06 +02:00
radv_radeon_winsys.h radv: disable implicit sync for radv allocated bos v3 2017-10-21 01:15:54 +02:00
radv_shader.c nir: Get rid of nir_shader::stage 2017-10-20 12:49:17 -07:00
radv_shader.h radv: Update GFX9 user data regs for GS/tess. 2017-10-19 22:25:27 +02:00
radv_util.c radv: use enum_to_str util functions. 2017-03-04 15:05:14 +00:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c radv: disable implicit sync for radv allocated bos v3 2017-10-21 01:15:54 +02:00
radv_wsi_wayland.c radv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
radv_wsi_x11.c vulkan/wsi/radv: add initial prime support (v1.1) 2017-02-27 05:42:16 +10:00
si_cmd_buffer.c radv: don't skip PS/VS partial flush 2017-10-21 01:01:44 +02:00
vk_format.h radv: Don't use SRGB format for image stores during resolve. 2017-08-06 16:06:50 +02:00
vk_format_layout.csv radv: add initial non-conformant radv vulkan driver 2016-10-07 09:16:09 +10:00
vk_format_parse.py amd: remove shebang from python scripts 2017-03-10 14:12:46 +00:00
vk_format_table.py amd: remove shebang from python scripts 2017-03-10 14:12:46 +00:00