mesa/src/intel/vulkan
José Roberto de Souza 2f7c9f906d intel: Split anv_xe_wait_exec_queue_idle() and move part of it to common/
Split anv_xe_wait_exec_queue_idle() into 2 functions, the first
function creates the syncobj and prepares it to be signaled when the
last workload in queue is completed.

And the second one that calls the first function, then waits for the
syncobj to be signaled and destroy the syncobj.

The main reason for that is that the first function can be reused in
Iris and a future patch will add another user, so lets share it.

No changes in behavior are expected here.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30958>
2024-09-19 23:12:44 +00:00
..
grl anv/grl: add some validation that we're not going to overflow 2024-07-01 18:11:38 +00:00
i915 anv: Drop useless '>= 0' check over a unsigned 2024-09-04 10:04:38 -07:00
layers anv: reuse object string for RMV token 2024-08-05 21:12:59 +00:00
tests intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
xe intel: Split anv_xe_wait_exec_queue_idle() and move part of it to common/ 2024-09-19 23:12:44 +00:00
anv_allocator.c anv: Protect against OOB access to anv_state_pool::buckets 2024-08-21 19:45:17 +00:00
anv_android.c anv/android: resolve ANB swapchain images on bind 2024-08-05 20:06:06 +00:00
anv_android.h anv/android: refactor out u_gralloc tiling query 2024-08-05 20:06:06 +00:00
anv_android_stubs.c anv/android: refactor out u_gralloc tiling query 2024-08-05 20:06:06 +00:00
anv_api_version.h anv: split instance from anv_device.c 2024-07-22 18:46:05 +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: Add warning about mismatch between query queues 2024-09-18 15:29:16 +00:00
anv_blorp.c anv: Add and use anv_image_hiz_clear_value() 2024-08-27 06:15:36 +00:00
anv_bo_sync.c anv: Add missing ANV_BO_ALLOC_INTERNAL 2024-04-19 13:15:01 +00:00
anv_buffer.c anv: fix extended buffer flags usages 2024-08-19 10:13:09 +00:00
anv_buffer_view.c anv: split buffer view from anv_image.c 2024-07-22 18:46:05 +00:00
anv_cmd_buffer.c anv: Release correct BO in anv_cmd_buffer_set_ray_query_buffer 2024-08-27 08:26:08 +00:00
anv_descriptor_set.c anv: ensure max_plane_count is at least 1 2024-08-06 17:55:18 +00:00
anv_device.c anv: fix adding to wa_addr 2024-08-27 18:10:58 -07:00
anv_event.c anv: split events from anv_device.c 2024-07-22 18:46:05 +00:00
anv_formats.c anv: enable VK_KHR_video_encode_queue and VK_KHR_video_encode_h264 2024-08-02 07:15:59 +00:00
anv_gem.c anv: remove some wrapping around mmap 2024-03-05 07:03:13 +00:00
anv_gem_stubs.c anv: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_genX.h anv: implement workaround for Wa_18038825448 2024-08-09 07:30:03 +03:00
anv_image.c anv: be consistent about aux usage with modifiers 2024-09-10 22:09:41 +00:00
anv_image_view.c intel: Support any depth fast-clear value on Xe2 2024-08-27 06:15:36 +00:00
anv_instance.c anv: Add full subgroups WA for the shaders with barriers in Breaking Limit 2024-08-27 08:26:08 +00:00
anv_internal_kernels.c anv: prevent asserts with debug printf in internal shaders 2024-08-06 17:55:18 +00:00
anv_internal_kernels.h anv: rewrite internal shaders using OpenCL 2024-02-13 00:06:45 +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: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_measure.c anv/measure: ignore events from reused command buffers 2024-08-05 23:45:41 +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: simplify loading driver internal constants 2024-08-22 19:44:39 +00:00
anv_nir_apply_pipeline_layout.c anv: selectively disable binding table usage on Gfx20 2024-09-09 20:33:25 +00:00
anv_nir_compute_push_layout.c anv: move lowering of descriptor intrinsics to apply_layout 2024-08-22 19:44:40 +00:00
anv_nir_lower_load_patch_vertices_in.c anv: simplify loading driver internal constants 2024-08-22 19:44:39 +00:00
anv_nir_lower_multiview.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_lower_resource_intel.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
anv_nir_lower_ubo_loads.c intel: Fix bad align_offset on global_constant_uniform_block_intel 2024-08-21 20:44:57 +00:00
anv_nir_push_descriptor_analysis.c anv: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +00:00
anv_perf.c anv: Add warning about mismatch between query queues 2024-09-18 15:29:16 +00:00
anv_physical_device.c anv: Fix context id or exec queue used to open perf stream 2024-09-18 15:29:16 +00:00
anv_pipeline.c vulkan: Handle VIEW_INDEX_FROM_DEVICE_INDEX_BIT in the runtime 2024-08-29 03:30:31 +00:00
anv_pipeline_cache.c anv: get rid of the second dynamic state heap 2024-07-19 12:21:46 +00:00
anv_private.h anv: Add documentation to some fields in anv_query_pool 2024-09-19 17:54:24 +00:00
anv_queue.c anv: make device initialization more asynchronous 2024-06-13 08:29:25 +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_sampler.c anv: split sampler from anv_device.c 2024-07-22 18:46:05 +00:00
anv_sparse.c anv: if queue is NULL in vm_bind return early 2024-09-13 20:17:40 +00:00
anv_util.c anv: add debug shader printf support 2024-05-15 13:13:38 +00:00
anv_utrace.c anv: fix utrace compute timestamp reads on Gfx20 2024-08-29 20:10:11 +00:00
anv_va.c anv: get rid of the second dynamic state heap 2024-07-19 12:21:46 +00:00
anv_video.c radv/anv/video: handling encoding both sps and pps in same buffer 2024-09-10 06:03:15 +00:00
anv_wsi.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
genX_acceleration_structure.c Revert "anv: Disable Ray Tracing on xe2 until our compiler supports Xe2 RT" 2024-05-28 18:45:49 +00:00
genX_blorp_exec.c anv: implement workaround for Wa_18038825448 2024-08-09 07:30:03 +03:00
genX_cmd_buffer.c anv,iris: Pack depth pixels into initialized arrays 2024-09-11 22:04:30 +00:00
genX_cmd_compute.c anv: prefetch samplers when dispatching compute shaders 2024-08-29 11:49:56 +00:00
genX_cmd_draw.c anv: always use workaround_address, not workaround_bo 2024-08-27 00:51:03 +00:00
genX_cmd_draw_generated_flush.h intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
genX_cmd_draw_generated_indirect.h anv: move conditional render predicate after gfx_flush_state 2024-08-23 10:52:19 +00:00
genX_cmd_draw_helpers.h anv: create new helper for small allocations 2024-02-29 07:05:06 +00:00
genX_cmd_video.c anv/video: initial support for h264 encoding 2024-08-02 07:15:59 +00:00
genX_cmd_video_enc.c anv/video: initial support for h265 encoding 2024-08-02 07:15:59 +00:00
genX_gfx_state.c anv: change existing ICL workaround to depend on BLEND_STATE 2024-08-29 13:58:08 +00:00
genX_gpu_memcpy.c anv: implement WA 14018283232 2024-06-05 15:22:25 +00:00
genX_init_state.c anv: explicitly disable BT pool allocations at device init 2024-08-26 10:34:31 +00:00
genX_internal_kernels.c nir: remove global_invocation_id_zero_base 2024-04-24 20:18:49 +00:00
genX_mi_builder.h anv: predicate emission of STATE_BASE_ADDRESS 2024-06-18 20:44:51 +00:00
genX_pipeline.c iris,anv: simplify and inline sampler count calculations 2024-08-29 11:49:56 +00:00
genX_query.c anv: Fix condition to clear query pool with blorp 2024-09-19 17:54:24 +00:00
genX_simple_shader.c anv: enforce state->cmd_buffer is never null in emit_Simpler_shader_init_fragment 2024-09-16 19:16:58 +00:00
meson.build intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00