mesa/src/intel/vulkan
Lionel Landwerlin 3984875792 u_trace: extend tracepoint end_of_pipe bit into flags
We ran into an issue with Intel drivers where it became tricky to tell
whether a timestamp must be recorded with a special end-of-pipe
compute instruction or something else.

We initially tried to deal with that internally by checking some state
in the command buffers but turns out it doesn't work.

This change adds a flag field to the tracepoint to have that
information there and the flags are passed to the record_ts vfunc.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29438>
2024-05-30 06:38:04 +00:00
..
grl anv/grl: Build for xe2 2024-05-28 18:45:49 +00:00
i915 anv: Nuke perf_query_pass from anv_execbuf 2024-05-27 19:34:06 +00:00
layers anv/android: enable emulated astc for applications 2024-05-28 08:11:49 +00:00
tests anv: fail pool allocation when over the maximal size 2023-10-30 14:47:18 +00:00
xe anv/xe: rename and refactor xe_exec_fill_sync() 2024-04-18 19:42:27 +00:00
anv_allocator.c anv: fixup alloc failure handling in reserved_array_pool 2024-05-06 09:20:01 +00:00
anv_android.c anv/anroid: Query gralloc for tiling mode 2024-05-14 09:06:00 +00:00
anv_android.h anv: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +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 intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
anv_blorp.c anv: fix incorrect blorp dynamic state heap usage 2024-04-05 09:50:41 +00:00
anv_bo_sync.c anv: Add missing ANV_BO_ALLOC_INTERNAL 2024-04-19 13:15:01 +00:00
anv_cmd_buffer.c anv: move last compute command pointers to the state structure 2024-05-30 06:38:04 +00:00
anv_descriptor_set.c anv: track embedded sampler counts in layouts 2024-03-20 19:29:05 +00:00
anv_device.c anv: use weak_ref mode for global pipeline caches 2024-05-22 15:22:56 +00:00
anv_formats.c anv/sparse: reject all sample flags that non-sparse doesn't support 2024-05-15 08:00:15 +00:00
anv_gem.c anv: remove some wrapping around mmap 2024-03-05 07:03:13 +00:00
anv_gem_stubs.c anv/xe: add a 'flags' parameter to the vm_bind() kmd_backend function 2024-04-18 19:42:27 +00:00
anv_genX.h anv: reduce blorp dynamic state emissions 2024-03-28 02:41:50 +00:00
anv_image.c anv/sparse: add the MSAA block shape tables 2024-05-15 08:00:15 +00:00
anv_internal_kernels.c intel/compiler: lower workgoup id to index only for mesh shaders 2024-04-24 20:18:48 +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/xe: add a 'flags' parameter to the vm_bind() kmd_backend function 2024-04-18 19:42:27 +00:00
anv_measure.c anv: Add missing ANV_BO_ALLOC_INTERNAL 2024-04-19 13:15:01 +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: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +00:00
anv_nir_apply_pipeline_layout.c anv: fix ycbcr plane indexing with indirect descriptors 2024-05-08 21:51:49 +00:00
anv_nir_compute_push_layout.c anv: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +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 anv, hasvk: Fix nir_lower_multiview to re-emit outputs before EmitVertex 2024-03-27 04:52:17 +00:00
anv_nir_lower_resource_intel.c anv: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +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 anv: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +00:00
anv_perf.c intel/perf: Add function to open perf stream 2024-05-07 21:44:34 +00:00
anv_pipeline.c anv: fix shader identifier handling 2024-05-23 19:05:05 +00:00
anv_pipeline_cache.c anv: switch to vk_device::mem_cache field for default cache 2024-05-20 08:23:48 +00:00
anv_private.h anv: move last compute command pointers to the state structure 2024-05-30 06:38:04 +00:00
anv_queue.c anv: add debug shader printf support 2024-05-15 13:13:38 +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 anv/sparse: assert a format can't be standard and non-standard 2024-05-15 08:00:16 +00:00
anv_util.c anv: add debug shader printf support 2024-05-15 13:13:38 +00:00
anv_utrace.c u_trace: extend tracepoint end_of_pipe bit into flags 2024-05-30 06:38:04 +00:00
anv_va.c anv: move aux-tt to general state pool 2024-02-29 07:05:06 +00:00
anv_video.c anv: add new heap/pool for descriptor buffers 2024-02-29 07:05:05 +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: check cmd_buffer is on a transfer queue more properly 2024-05-28 18:25:16 +00:00
genX_cmd_buffer.c anv: fix timestamp copies from secondary buffers 2024-05-30 06:38:04 +00:00
genX_cmd_compute.c anv: move last compute command pointers to the state structure 2024-05-30 06:38:04 +00:00
genX_cmd_draw.c anv: skip gfx push constants alloc optimization on gfx9/11 2024-05-08 17:21:26 +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: allocate space for generated indirect draw id's using the temporary allocation helper 2024-05-02 08:32:09 +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: Fix to set correct offset and size for parsing h265 slice header. 2024-04-08 04:12:07 +00:00
genX_gfx_state.c anv: VK_EXT_legacy_dithering support 2024-05-15 04:45:55 +00:00
genX_gpu_memcpy.c anv: fix Wa_16013994831 macros 2024-02-19 12:48:33 +00:00
genX_init_state.c Revert "anv: Disable Ray Tracing on xe2 until our compiler supports Xe2 RT" 2024-05-28 18:45:49 +00:00
genX_internal_kernels.c nir: remove global_invocation_id_zero_base 2024-04-24 20:18:49 +00:00
genX_pipeline.c anv: move 3DSTATE_MULTISAMPLE to partial emission 2024-04-26 05:13:03 +00:00
genX_query.c anv: Properly fetch partial results in vkGetQueryPoolResults 2024-05-29 18:03:28 +00:00
genX_simple_shader.c anv, blorp: Set COMPUTE_WALKER Message SIMD field 2024-03-06 10:58:27 +00:00
meson.build meson: add VK_DRIVER_FILES to devenv, alongside the old VK_ICD_FILENAMES 2024-04-02 18:08:52 +00:00