mesa/src/intel/vulkan
Yiwei Zhang be3af5acf6 anv: optimize the implicit fencing support of external memory
Previously we apply implicit sync to all external memory, which is a bit
redundant since we only need it for the dedicated image scenario (media
image imported into Vulkan). This change optimizes just like that while
also excluding wsi which has its own way of synchronizing with the
compositor.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27398>
2024-02-01 18:53:28 +00:00
..
grl anv: using a single struct for kernel upload 2024-01-22 08:42:37 +00:00
i915 anv: initial RMV support 2024-01-23 17:24:19 +00:00
layers anv: initial RMV support 2024-01-23 17:24:19 +00:00
shaders anv/xehp+: Enable TBIMR in generated draw calls. 2023-10-27 14:50:42 -07:00
tests anv: fail pool allocation when over the maximal size 2023-10-30 14:47:18 +00:00
xe anv: Fix calculation of syncs required in Xe KMD 2024-01-24 20:48:39 +00:00
anv_allocator.c anv: add missing alignment for AUX-TT mapping 2024-01-26 11:20:17 +00:00
anv_android.c anv: Add missing ANV_BO_ALLOC_EXTERNAL flags when calling anv_device_import_bo() 2023-11-08 01:20:42 +00:00
anv_android.h anv: Use the new vk_device_memory base struct 2023-03-31 14:57:03 +00:00
anv_android_stubs.c anv,hasvk: android ahb is not always exportable 2023-05-11 22:18:03 +00:00
anv_astc_emu.c anv: move astc_emu to use descriptors2 calls 2024-01-02 22:12:02 +00:00
anv_batch_chain.c anv: Simply companion_rcs handling 2024-01-09 14:28:18 +00:00
anv_blorp.c anv: using a single struct for kernel upload 2024-01-22 08:42:37 +00:00
anv_bo_sync.c anv: Add a tracepoint for the fallback implicit sync wait path. 2023-01-12 20:21:03 +00:00
anv_cmd_buffer.c anv: implement VK_EXT_attachment_feedback_loop_dynamic_state 2024-01-26 13:39:02 +00:00
anv_descriptor_set.c anv: Add helpers for getting the surface state from an image view 2024-01-26 13:39:02 +00:00
anv_device.c anv: optimize the implicit fencing support of external memory 2024-02-01 18:53:28 +00:00
anv_formats.c anv/sparse: check if the non-sparse version is supported first 2023-12-06 00:29:58 +00:00
anv_gem.c anv: Calculate mmap mode based on alloc_flags 2023-11-08 01:20:42 +00:00
anv_gem_stubs.c anv/trtt: add struct anv_trtt_batch_bo and pass it around 2023-11-17 17:58:29 +00:00
anv_genX.h anv: export descriptor flushing functions 2024-01-15 12:28:49 +00:00
anv_image.c anv: Disable compression if we have concurrent sharing mode 2024-01-31 19:28:12 +00:00
anv_internal_kernels.c intel/nir: Pass devinfo and prog_data to brw_nir_lower_cs_intrinsics 2024-01-25 08:43:04 +00:00
anv_internal_kernels.h anv: fixup 32bit build of internal shaders 2023-10-25 11:47:40 +00:00
anv_kmd_backend.c anv: Add gem VM bind and unbind to backend 2023-03-11 17:56:01 +00:00
anv_kmd_backend.h anv/trtt: add struct anv_trtt_batch_bo and pass it around 2023-11-17 17:58:29 +00:00
anv_measure.c anv: Fix anv_measure_start/stop_snapshot() over copy or video engine 2024-01-09 14:28:19 +00:00
anv_measure.h anv: add a custom AcquireNextImage2KHR func 2022-02-17 22:15:23 +00:00
anv_mesh_perprim_wa.c treewide: Merge num_mesh_vertices_per_primitive and u_vertices_per_prim into mesa_vertices_per_prim 2023-10-26 09:35:04 +00:00
anv_nir.h anv/hasvk: track robustness per pipeline stage 2023-08-09 09:00:12 +03:00
anv_nir_apply_pipeline_layout.c anv: use 2 different buffers for surfaces/samplers in descriptor sets 2023-12-04 23:06:05 +00:00
anv_nir_compute_push_layout.c treewide: Avoid use align as variable, replace it with other names 2023-12-07 02:30:53 +00:00
anv_nir_lower_load_patch_vertices_in.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
anv_nir_lower_multiview.c treewide: Use nir_before/after_impl for more elaborate cases 2023-08-30 19:30:58 +00:00
anv_nir_lower_resource_intel.c anv: use 2 different buffers for surfaces/samplers in descriptor sets 2023-12-04 23:06:05 +00:00
anv_nir_lower_ubo_loads.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
anv_nir_push_descriptor_analysis.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
anv_perf.c anv/iris: report counter symbols with debug option 2023-03-08 12:45:43 +00:00
anv_pipeline.c anv: Advertise VK_KHR_shader_subgroup_rotate 2024-01-25 19:07:42 +00:00
anv_pipeline_cache.c anv: using a single struct for kernel upload 2024-01-22 08:42:37 +00:00
anv_private.h anv: retain ccs image binding address 2024-01-26 17:29:31 +00:00
anv_queue.c anv: Execute an empty batch to sync main and companion RCS batch 2023-09-07 06:39:06 +00:00
anv_rmv.c anv: initial RMV support 2024-01-23 17:24:19 +00:00
anv_rmv.h anv: initial RMV support 2024-01-23 17:24:19 +00:00
anv_sparse.c isl,blorp,anv: introduce ISL_TILING_64_XE2 for Xe2+ platforms 2024-01-24 17:01:48 +01:00
anv_util.c anv: fix missing naming for dirty bit 2023-11-17 10:17:51 +00:00
anv_utrace.c anv: Avoid unnecessary intel_flush calls 2023-12-06 22:18:26 +00:00
anv_va.c anv: use 2 different buffers for surfaces/samplers in descriptor sets 2023-12-04 23:06:05 +00:00
anv_video.c anv/video: only report matching memory types for protected sessions 2023-12-06 19:17:17 +00:00
anv_wsi.c anv: Avoid unnecessary intel_flush calls 2023-12-06 22:18:26 +00:00
genX_acceleration_structure.c anv: promote EXT_index_type_uint8 to KHR 2024-01-26 10:38:53 +00:00
genX_blorp_exec.c intel/ds: track predication of blorp operations 2024-01-26 13:39:01 +00:00
genX_cmd_buffer.c anv: Fix typo in transition_color_buffer 2024-01-30 07:39:01 +00:00
genX_cmd_compute.c intel: Add driver support for hardware generated local invocation IDs 2024-01-25 08:43:04 +00:00
genX_cmd_draw.c anv: use workaround framework for Wa_22018402687 2024-01-31 21:24:14 +00:00
genX_cmd_draw_generated_flush.h anv: move generated draw flush helper to its own file 2024-01-15 12:28:49 +00:00
genX_cmd_draw_generated_indirect.h anv: move generated draw flush helper to its own file 2024-01-15 12:28:49 +00:00
genX_cmd_draw_helpers.h anv: get rid of the duplicate pipeline fields in command buffer state 2023-11-17 10:17:51 +00:00
genX_cmd_video.c anv/video: fix out-of-bounds read 2024-01-31 08:24:22 +00:00
genX_gfx_state.c anv: implement VK_EXT_attachment_feedback_loop_dynamic_state 2024-01-26 13:39:02 +00:00
genX_gpu_memcpy.c anv: check for wa 16013994831 in emit_so_memcpy_end 2024-01-15 08:36:29 +00:00
genX_init_state.c intel/genxml/xe2: Remove L3ALLOC 2024-01-18 14:16:17 +00:00
genX_pipeline.c intel/vulkan: assume() that we don't use "ISL_NUM_FORMATS" 2024-01-31 18:59:16 +00:00
genX_query.c anv: initial RMV support 2024-01-23 17:24:19 +00:00
genX_simple_shader.c intel: Add driver support for hardware generated local invocation IDs 2024-01-25 08:43:04 +00:00
meson.build anv: initial RMV support 2024-01-23 17:24:19 +00:00