mesa/src/intel/vulkan
Sagar Ghuge f36b6c8f13
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
anv: Update values for DispatchTimeoutCounter
BTD unit will keep accumulating the threads and then eventually dispatch
those active threads once it reaches the counter.

I guess dispatching too fast will not have full occupancy at the BTD
unit, instead we just pick the half of max value for counter.

This patch also add drirc option to dispatch_timeout_counter and tweak
values internally with respect to HW limits. Default value we have right
now is 512 clocks, we can for sure tune it per app.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40733>
2026-04-24 01:38:20 +00:00
..
bvh anv/rt: Copy 16bytes at once instead of copying 8bytes 2026-04-16 02:52:03 +00:00
i915 anv: switch from INTEL_DEBUG to ANV_DEBUG for shader-print 2026-04-20 21:53:35 +03:00
layers anv: add furmark workaround layer 2025-11-28 09:26:41 +00:00
tests anv/tests: Add a slab test to cover the memory leak issue. 2026-01-08 14:21:24 +00:00
xe anv: switch from INTEL_DEBUG to ANV_DEBUG for shader-print 2026-04-20 21:53:35 +03:00
anv_allocator.c anv: Make use of anv_shader_get_scratch_surf() in genX_cmd_compute.c 2026-04-08 17:44:52 +00:00
anv_android.c anv: Enable compression on importing Android buffers (xe2) 2025-12-09 14:16:43 -08:00
anv_android.h anv: And a new function to consolidate import paths 2025-12-09 14:16:42 -08:00
anv_android_stubs.c anv: And a new function to consolidate import paths 2025-12-09 14:16:42 -08:00
anv_api_version.h anv: Enable Vulkan 1.4 for SDK 37+ 2026-03-24 21:15:45 +00:00
anv_astc_emu.c brw: drop indirection on compiler options 2025-09-18 14:14:08 +00:00
anv_batch_chain.c anv: rework debug flag 2026-04-20 21:53:35 +03:00
anv_blorp.c anv: log fast depth clear fallback reasons in vkCmdClearAttachments 2026-04-14 16:14:47 +00:00
anv_buffer.c anv: fix dEQP-VK.memory.address_binding_report* 2026-03-06 12:21:17 +00:00
anv_buffer_view.c anv: add support for shaderStorageImageReadWithoutFormat through emulation 2025-06-06 12:28:42 +00:00
anv_cmd_buffer.c anv: implement VK_EXT_primitive_restart_index 2026-04-22 08:52:57 +00:00
anv_descriptor_set.c anv: rework debug flag 2026-04-20 21:53:35 +03:00
anv_device.c anv: Move init and finish of state pools to its own functions 2026-04-21 19:23:41 +00:00
anv_embedded_sampler.c anv: extract embedded samplers from pipeline_cache 2025-08-01 11:35:04 +00:00
anv_event.c anv: switch events to use 0/!0 values for unsignaled/signaled 2025-12-15 08:25:38 +00:00
anv_formats.c anv: rework debug flag 2026-04-20 21:53:35 +03:00
anv_gem.c anv: Fix placed address mmap with slab bo 2026-03-30 13:59:27 +00:00
anv_gem_stubs.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
anv_genX.h anv: Update values for DispatchTimeoutCounter 2026-04-24 01:38:20 +00:00
anv_image.c anv: log aux disable reasons in image init and DRM modifier selection 2026-04-14 16:14:48 +00:00
anv_image_host_copy.c anv: Implement host_image_copy astc emulation on CPU 2025-11-07 12:14:31 +00:00
anv_image_view.c intel/isl: Replace mc_format with aux_format 2026-03-11 00:36:15 +00:00
anv_instance.c anv: Update values for DispatchTimeoutCounter 2026-04-24 01:38:20 +00:00
anv_internal_kernels.c anv: switch from INTEL_DEBUG to ANV_DEBUG for shader-print 2026-04-20 21:53:35 +03:00
anv_internal_kernels.h anv: implement Wa_16011107343/22018402687 for generated draws 2024-11-12 22:48:39 +00:00
anv_kmd_backend.c
anv_kmd_backend.h anv: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_measure.c anv: rework gfx state emission (again) 2025-08-11 11:14:53 +00:00
anv_measure.h
anv_nir.h anv: add a pass to realign global loads on DX CBV resources 2026-04-21 16:29:14 +00:00
anv_nir_apply_pipeline_layout.c anv/apply_layout: move some helpers around 2026-04-20 21:53:35 +03:00
anv_nir_clear_shader_analysis.c anv: add an analysis pass to detect compute shaders clearing data 2026-03-04 20:40:59 +00:00
anv_nir_compute_push_layout.c anv: promote push constant pointers to push buffers 2026-04-21 16:29:14 +00:00
anv_nir_lower_driver_values.c anv: implement inline parameter promotion from push constants 2026-02-25 10:44:09 +00:00
anv_nir_lower_multiview.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
anv_nir_lower_resource_intel.c anv, brw: Consolidate ex_bso bits to a static devinfo inline 2026-02-16 21:33:47 +00:00
anv_nir_lower_ubo_loads.c anv: fixup load_ubo lowering 2025-11-17 20:02:00 +00:00
anv_nir_lower_unaligned_dispatch.c anv: implement inline parameter promotion from push constants 2026-02-25 10:44:09 +00:00
anv_nir_push_constants_analysis.c anv: promote push constant pointers to push buffers 2026-04-21 16:29:14 +00:00
anv_nir_push_descriptor_analysis.c anv: use internal surface state on Gfx12.5+ to access descriptor buffers 2026-02-12 16:45:26 +00:00
anv_nir_realign_cbv.c anv: add a pass to realign global loads on DX CBV resources 2026-04-21 16:29:14 +00:00
anv_perf.c Rename sha1_* and sha_* names to blake3_* 2026-03-23 07:03:28 +00:00
anv_physical_device.c anv: expose VK_KHR_shader_constant_data 2026-04-23 19:02:27 +00:00
anv_pipeline_cache.c spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
anv_private.h anv: Update values for DispatchTimeoutCounter 2026-04-24 01:38:20 +00:00
anv_queue.c anv: switch from INTEL_DEBUG to ANV_DEBUG for shader-print 2026-04-20 21:53:35 +03:00
anv_rmv.c anv: shrink image opaque data 2025-11-25 19:38:53 +00:00
anv_rmv.h anv: remove unused gfx/compute pipeline code 2025-09-05 07:46:20 +00:00
anv_sampler.c anv: rework embedded sampler hashing 2025-07-07 18:53:53 +00:00
anv_shader.c anv: promote push constant pointers to push buffers 2026-04-21 16:29:14 +00:00
anv_shader.h anv: fix broken ray tracing dynamic descriptors 2025-12-02 13:25:20 +00:00
anv_shader_compile.c anv: add a pass to realign global loads on DX CBV resources 2026-04-21 16:29:14 +00:00
anv_shader_heap.c anv: Fix shaders-lineno implementation for eu stall sampling 2026-03-05 13:12:15 -08:00
anv_slab_bo.c anv: rework debug flag 2026-04-20 21:53:35 +03:00
anv_slab_bo.h anv: Add the base infrastructure to support memory pool 2025-04-30 12:56:39 +00:00
anv_sparse.c anv: fix dEQP-VK.memory.address_binding_report* 2026-03-06 12:21:17 +00:00
anv_util.c anv: add a debug printout for dirty descriptors 2026-02-25 10:44:04 +00:00
anv_utrace.c anv: implement VK_KHR_internally_synchronized_queues 2026-01-29 16:03:26 +00:00
anv_va.c anv: Rename instruction_state_pool to shader_heap 2026-02-27 17:36:41 +00:00
anv_video.c anv/video: remove unsupported feautres for encoders 2026-02-16 10:58:40 +00:00
anv_wsi.c vulkan/wsi/wayland: Correctly map 24bpp format types 2026-02-17 19:25:19 +00:00
av1_tables.h anv: add default av1 tables from media-driver 2025-01-10 21:45:04 +00:00
genX_acceleration_structure.c vulkan: Rename {encode,update}_bind_pipeline to {encode,update}_prepare 2026-03-28 16:12:09 +01:00
genX_blorp_exec.c anv: fix Wa_14024015672 interaction in blorp 2026-04-14 03:15:14 +00:00
genX_cmd_buffer.c anv: avoid C23 2026-04-20 21:53:35 +03:00
genX_cmd_compute.c anv: Update values for DispatchTimeoutCounter 2026-04-24 01:38:20 +00:00
genX_cmd_draw.c anv: promote push constant pointers to push buffers 2026-04-21 16:29:14 +00:00
genX_cmd_draw_generated_flush.h anv: remove use of emit_apply_pipe_flushes() in various helpers 2025-12-15 08:25:31 +00:00
genX_cmd_draw_generated_indirect.h anv: add tracking of involved stages in pipe flushes 2025-12-15 08:25:32 +00:00
genX_cmd_draw_helpers.h anv: store gfx/compute bound shaders on command buffer state 2025-08-01 11:35:08 +00:00
genX_cmd_video.c anv: use workaround framework for Wa_1508208842 2026-02-02 19:40:26 +00:00
genX_cmd_video_enc.c anv/video: set Sad Qp Lambda values properly for H265 encoder. 2026-02-16 10:58:40 +00:00
genX_gfx_state.c anv: implement VK_EXT_primitive_restart_index 2026-04-22 08:52:57 +00:00
genX_gpu_memcpy.c anv: document more stalling 2026-03-24 18:17:42 +00:00
genX_init_state.c anv: Update values for DispatchTimeoutCounter 2026-04-24 01:38:20 +00:00
genX_internal_kernels.c anv: fix internal compute shader constant data pull 2026-03-10 18:24:04 +00:00
genX_mi_builder.h anv: predicate BTP emissions 2026-02-25 00:17:03 +00:00
genX_query.c anv: Report address binding events for VkQueryPool 2026-02-27 01:36:43 +00:00
genX_shader.c anv: Make use of anv_shader_get_scratch_surf() in genX_cmd_compute.c 2026-04-08 17:44:52 +00:00
genX_simple_shader.c anv: fix compute push constant allocations on pre Gfx12.5 platforms 2026-04-20 21:53:35 +03:00
meson.build anv: add a pass to realign global loads on DX CBV resources 2026-04-21 16:29:14 +00:00
vp9_tables.h anv: add default vp9 tables from FFMpeg and intel-vaapi-driver 2025-06-13 04:51:51 +00:00