mesa/src/intel/vulkan
Lionel Landwerlin afabf6e350 anv: add a device generated command debug option
It prints out the constant of the generated commands.

$ ANV_DEBUG=dgc-dump ./deqp-vk -n dEQP-VK.dgc.ext.compute.smoke.4_sequences_device_local_from_host_preprocess_state_same_universal_queue

Test case 'dEQP-VK.dgc.ext.compute.smoke.4_sequences_device_local_from_host_preprocess_state_same_universal_queue'..
call from 0xffffeffeffe04694
0x0000000400000000: MI_STORE_DATA_IMM
   0x10000403 0x00000178 0x00000004 0xffe047b8 0xffffeffe
0x0000000400000014: MI_BATCH_BUFFER_START
   0x18800101 0x00000020 0x00000004
0x0000000400000020: MI_ARB_CHECK
   0x02800100
0x0000000400000024: MEDIA_CURBE_LOAD
   0x70010002 0x00000000 0x00000020 0x40000180
0x0000000400000034: GPGPU_WALKER
   0x7105000d 0x00000000 0x00000000 0x00000000 0x40000003 0x00000000 0x00000000 0x00000001
   0x00000000 0x00000000 0x0000004c 0x00000000 0x00000001 0x0000ffff 0xffffffff
0x0000000400000070: MEDIA_STATE_FLUSH
   0x70040000 0x00000000
0x0000000400000078: MEDIA_CURBE_LOAD
   0x70010002 0x00000000 0x00000020 0x40001400
0x0000000400000088: GPGPU_WALKER
   0x7105000d 0x00000000 0x00000000 0x00000000 0x40000003 0x00000000 0x00000000 0x00000017
   0x00000000 0x00000000 0x00000001 0x00000000 0x00000001 0x0000ffff 0xffffffff
0x00000004000000c4: MEDIA_STATE_FLUSH
   0x70040000 0x00000000
0x00000004000000cc: MEDIA_CURBE_LOAD
   0x70010002 0x00000000 0x00000020 0x40002680
0x00000004000000dc: GPGPU_WALKER
   0x7105000d 0x00000000 0x00000000 0x00000000 0x40000003 0x00000000 0x00000000 0x00000001
   0x00000000 0x00000000 0x00000001 0x00000000 0x000000d5 0x0000ffff 0xffffffff
0x0000000400000118: MEDIA_STATE_FLUSH
   0x70040000 0x00000000
0x0000000400000120: MEDIA_CURBE_LOAD
   0x70010002 0x00000000 0x00000020 0x40003900
0x0000000400000130: GPGPU_WALKER
   0x7105000d 0x00000000 0x00000000 0x00000000 0x40000003 0x00000000 0x00000000 0x00000001
   0x00000000 0x00000000 0x000000dc 0x00000000 0x00000001 0x0000ffff 0xffffffff
  Pass (Pass)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31384>
2026-05-06 09:49:52 +00:00
..
bvh anv/rt: Copy 16bytes at once instead of copying 8bytes 2026-04-16 02:52:03 +00:00
i915 anv: stop using queue priority KHR aliases 2026-04-30 09:04:01 +00: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: Disable scratch page by default on Xe KMD 2026-05-01 19:51:41 +00:00
anv_allocator.c anv: implement EXT_descriptor_heap entry points 2026-05-05 18:21:17 +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 anv: remove a bunch of KHR alias uses 2026-04-30 09:04:01 +00:00
anv_batch_chain.c anv: rework debug flag 2026-04-20 21:53:35 +03:00
anv_blorp.c blorp: Work around sampler overfetch for buffer copies 2026-05-01 19:51:41 +00:00
anv_buffer.c anv: handle preprocess buffer creation on <= Gfx12.0 2026-05-06 09:49:48 +00:00
anv_buffer_view.c anv: don't silently convert view ranges from u64 to u32 then u64 2026-04-30 21:32:23 +00:00
anv_cmd_buffer.c anv: handle descriptor binding with DGC 2026-05-06 09:49:47 +00:00
anv_descriptor_set.c anv: implement EXT_descriptor_heap entry points 2026-05-05 18:21:17 +00:00
anv_device.c anv: print out the content of the printf buffer at vkDestroyDevice 2026-05-06 09:49:41 +00:00
anv_dgc_layout.c anv: add indirect command layout support 2026-05-06 09:49:45 +00:00
anv_dgc_set.c anv: add support for indirect execution set 2026-05-06 09:49:45 +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: remove a bunch of KHR alias uses 2026-04-30 09:04:01 +00: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: add support for indirect execution set 2026-05-06 09:49:45 +00:00
anv_image.c anv: implement EXT_descriptor_heap entry points 2026-05-05 18:21:17 +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: add a device generated command debug option 2026-05-06 09:49:52 +00:00
anv_internal_kernels.c anv: add a device generated command debug option 2026-05-06 09:49:52 +00:00
anv_internal_kernels.h anv: add a device generated command debug option 2026-05-06 09:49:52 +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 apply_layout support for device bindable shaders/pipelines 2026-05-06 09:49:44 +00:00
anv_nir_apply_pipeline_layout.c anv: add apply_layout support for device bindable shaders/pipelines 2026-05-06 09:49:44 +00: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/brw/nir: fix wa_18019110168 2026-05-06 09:49:41 +00:00
anv_nir_lower_descriptor_heap.c anv: add lowering of descriptor heap intrinsics 2026-05-05 18:21:16 +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: Make sure robust UBO access does not fault 2026-05-01 19:51:41 +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: remove a bunch of KHR alias uses 2026-04-30 09:04:01 +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_EXT_device_generated_commands by default on Gfx12.5+ 2026-05-06 09:49:51 +00:00
anv_pipeline_cache.c anv: add a shader-dump debug option 2026-04-30 10:59:45 +00:00
anv_private.h anv: add a device generated command debug option 2026-05-06 09:49:52 +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: implement EXT_descriptor_heap entry points 2026-05-05 18:21:17 +00:00
anv_shader.c anv: add apply_layout support for device bindable shaders/pipelines 2026-05-06 09:49:44 +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 apply_layout support for device bindable shaders/pipelines 2026-05-06 09:49:44 +00:00
anv_shader_heap.c anv: Add padding to the shader heap to manage EU prefetch 2026-05-01 19:51:40 +00: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_types.h anv/intel: add device generated commands shaders 2026-05-06 09:49:43 +00:00
anv_util.c anv: add a device generated command debug option 2026-05-06 09:49:52 +00:00
anv_utrace.c anv: implement VK_KHR_internally_synchronized_queues 2026-01-29 16:03:26 +00:00
anv_va.c anv: Store batch buffers in a null-initialized VMA heap 2026-05-01 19:51:40 +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 radix_sort to radix_sort_u64 2026-05-04 20:42:49 +00:00
genX_blorp_exec.c blorp: Work around sampler overfetch for buffer copies 2026-05-01 19:51:41 +00:00
genX_cmd_buffer.c anv: add barrier flags handling for preprocess buffers 2026-05-06 09:49:48 +00:00
genX_cmd_compute.c anv: enable compute state flushing with indirect state 2026-05-06 09:49:43 +00:00
genX_cmd_dgc.c anv: add a device generated command debug option 2026-05-06 09:49:52 +00:00
genX_cmd_draw.c anv: expose non binding-table/push-pointer flushing 2026-05-06 09:49:42 +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: expose non binding-table/push-pointer flushing 2026-05-06 09:49:42 +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/brw/nir: fix wa_18019110168 2026-05-06 09:49:41 +00:00
genX_gpu_memcpy.c anv: document more stalling 2026-03-24 18:17:42 +00:00
genX_init_state.c anv: split sampler state packing from API object creation 2026-05-05 18:21:16 +00:00
genX_internal_kernels.c anv: add a device generated command debug option 2026-05-06 09:49:52 +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: add support for indirect execution set 2026-05-06 09:49:45 +00:00
genX_simple_shader.c anv: allow simple shader spilling for complex ones 2026-05-06 09:49:46 +00:00
meson.build anv: implement generated preprocess & execute 2026-05-06 09:49:48 +00:00
vp9_tables.h anv: add default vp9 tables from FFMpeg and intel-vaapi-driver 2025-06-13 04:51:51 +00:00