mesa/src/amd/common
Marek Olšák c6ddfe1a3b amd: add a tool that prints tiling layouts for all shim devices
This prints the swizzle pattern for all non-XOR tiling modes.
It can be used to determine which GPUs have the same tiling.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41405>
2026-05-07 21:41:01 +00:00
..
nir nir: rename nir_src_parent_instr to nir_src_use_instr 2026-05-06 17:09:22 +00:00
tools amd: add a tool that prints tiling layouts for all shim devices 2026-05-07 21:41:01 +00:00
virtio amd/virtio: fix amdgpu_sw_info_address_prt_wa_control_bit handling 2026-05-07 07:59:00 +00:00
.clang-format amd: import libdrm_amdgpu ioctl wrappers 2024-11-25 21:03:41 -05:00
ac_binary.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_binary.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_cmdbuf.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_cmdbuf.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_cmdbuf_base.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_cmdbuf_cp.c ac,radeonsi,radv: use V_581A_* engine sel for non-pws acquire_mem packet 2026-04-23 02:48:06 +00:00
ac_cmdbuf_cp.h amd,radv,radeonsi: add a new function to update windowed perf counters 2025-12-24 07:20:01 +00:00
ac_cmdbuf_sdma.c ac/sdma: rework and fix metadata for SDMA7 2026-03-02 14:44:14 +00:00
ac_cmdbuf_sdma.h radv: set TMZ bit in sdma_copy packet 2026-04-27 09:03:34 +00:00
ac_debug.c ac: keep a single instance of sid_table 2026-03-02 09:53:40 +01:00
ac_debug.h amd: generate a packet parser/printer automatically from packet definitions 2026-03-11 18:54:20 +00:00
ac_descriptors.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_descriptors.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_drm_fourcc.h ac/surface: add radeonsi exported modifiers to supported list 2025-09-15 09:39:19 +00:00
ac_formats.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_formats.h ac,radeonsi: move SX PS downconversion code into ac_formats.c 2026-01-02 16:46:20 +00:00
ac_gather_context_rolls.c amd: switch to new packet definitions for all packets 2026-04-10 03:42:45 +00:00
ac_gpu_info.c radv,ac: make rembrandt and vangogh cache compatible 2026-05-06 17:41:31 +00:00
ac_gpu_info.h radv,ac: make rembrandt and vangogh cache compatible 2026-05-06 17:41:31 +00:00
ac_guardband.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_guardband.h ac,radeonsi: move guardband computations to common code 2026-03-10 12:07:46 +00:00
ac_hw_stage.h amd: Move ac_hw_stage to its own file 2023-07-03 21:12:45 +00:00
ac_ib_parser.c ac/parse_ib: Replace the parameter list with ac_ib_parser 2024-03-19 16:08:13 +00:00
ac_linux_drm.c amd/virtio: fix amdgpu_sw_info_address_prt_wa_control_bit handling 2026-05-07 07:59:00 +00:00
ac_linux_drm.h ac/gpu_info: query the PRT workaround control bit from libdrm 2026-04-30 09:29:43 +00:00
ac_msgpack.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_msgpack.h ac: remove unused code 2024-12-26 10:12:43 +00:00
ac_parse_ib.c ac/vcn: Rename VCN5 swizzle mode to GFX12 2026-04-27 17:13:18 +00:00
ac_perfcounter.c amd: add initial common code for gfx11.7 2026-04-18 18:54:23 +00:00
ac_perfcounter.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_perfcounter_gfx10.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_perfcounter_gfx11.c ac/perfcounter: re-order GPU perf blocks on GFX11 2026-01-12 08:10:33 +00:00
ac_perfcounter_gfx12.c ac,radv,radeonsi: rename num_spm_counters to num_spm_modules 2026-01-12 08:10:32 +00:00
ac_perfcounter_gfx103.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_pm4.c amd,radv,radeonsi: add ac_pm4_emit_commands() 2025-10-23 08:29:24 +00:00
ac_pm4.h amd,radv,radeonsi: add ac_pm4_emit_commands() 2025-10-23 08:29:24 +00:00
ac_rgp.c ac: move lds_size_per_workgroup to ac_compiler_info 2026-04-29 08:10:08 +00:00
ac_rgp.h radv: improve dumping RGP captures 2026-03-31 06:27:07 +00:00
ac_rgp_elf_object_pack.c radv/rt: Compile ahit/isec shaders to asm 2026-01-20 21:49:55 +00:00
ac_rtld.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_rtld.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_shader_args.c ac: Don't include full nir.h anymore. 2025-02-12 22:33:07 +01:00
ac_shader_args.h radv: fix independent sets with dynamic buffers and GPL 2026-02-24 11:12:14 +00:00
ac_shader_debug_info.h amd: Add ac_shader_debug_info 2024-11-11 08:39:13 +00:00
ac_shader_util.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_shader_util.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_shadowed_regs.c amd: add initial common code for gfx11.7 2026-04-18 18:54:23 +00:00
ac_shadowed_regs.h winsys/amdgpu: enable userq reg shadowing for gfx11.5 2025-11-23 19:44:07 +00:00
ac_spm.c amd: add initial common code for gfx11.7 2026-04-18 18:54:23 +00:00
ac_spm.h radeonsi/sqtt: use pipe_aligned_buffer_create to allocate bo 2026-02-12 10:08:43 +00:00
ac_sqtt.c amd/packets: remove the underscore between opcode number and word index, use %x 2026-04-10 03:42:45 +00:00
ac_sqtt.h radeonsi/sqtt: use pipe_aligned_buffer_create to allocate bo 2026-02-12 10:08:43 +00:00
ac_surface.c ac/surface: allow to select hybrid/block memcpy path for host copies 2026-05-05 17:53:17 +00:00
ac_surface.h ac/surface: allow to select hybrid/block memcpy path for host copies 2026-05-05 17:53:17 +00:00
ac_surface_meta_address_test.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_surface_modifier_test.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_surface_test.h radv,ac: make rembrandt and vangogh cache compatible 2026-05-06 17:41:31 +00:00
ac_uvd_dec.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_uvd_dec.h ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_vcn.h ac,radeonsi/vcn,radv/video: Drop signature param 2025-11-13 14:35:58 +00:00
ac_vcn_av1_default.h ac/radeonsi: add av1 defaults header file from radeonsi 2023-06-16 05:53:44 +00:00
ac_vcn_dec.c ac: Add vcn_5_3_0 support 2026-04-27 17:13:18 +00:00
ac_vcn_dec.h ac/vcn: correct a typo in av1 dec header 2026-02-25 09:02:28 +00:00
ac_vcn_enc.c amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_vcn_enc.h ac/vcn: Rename VCN5 swizzle mode to GFX12 2026-04-27 17:13:18 +00:00
ac_vcn_enc_av1_default_cdf.h ac,radeonsi: move vcn enc av1 default cdf file to common 2023-09-14 07:51:24 +00:00
ac_vcn_vp9_default.h amd: move vp9 probs table to common code. 2025-06-09 20:46:03 +00:00
ac_video.h ac: Add video decode interface 2026-02-12 15:38:25 +00:00
ac_video_dec.c ac: Add UVD ac_video_dec implementation 2026-02-12 15:38:26 +00:00
ac_video_dec.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
amd_family.c ac/info: add gfx12.1 identification 2026-05-04 09:38:31 +02:00
amd_family.h ac/info: add gfx12.1 identification 2026-05-04 09:38:31 +02:00
amdgpu_devices.c ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
amdgpu_devices.h ac/tests: use amdgpu shim devices 2026-04-14 12:06:20 +00:00
gfx10_format_table.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
gfx10_format_table.py ac/gfx10_format_table: Use new names for 422 subsampled formats 2025-10-14 09:33:28 +00:00
meson.build amd: add a tool that prints tiling layouts for all shim devices 2026-05-07 21:41:01 +00:00
sid.h amd/packets: remove the underscore between opcode number and word index, use %x 2026-04-10 03:42:45 +00:00
sid_tables.py ac: keep a single instance of sid_table 2026-03-02 09:53:40 +01:00