mesa/src/amd/common
Marek Olšák bfb6c41b64
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
amd: remove unnecessary and transitive #includes
Reported by clang tools.
See: https://clangd.llvm.org/guides/include-cleaner

struct ac_cmdbuf had to be moved to ac_cmdbuf_base.h because we can't
include ac_cmdbuf.h->sid.h->amdgfxregs.h in radeon_winsys.h for r300.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41091>
2026-04-24 21:53:07 +00:00
..
nir amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
virtio amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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 amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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 amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_gpu_info.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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 ac: update amdgpu_drm.h for uq metadata query info 2025-12-04 16:34:20 +00:00
ac_linux_drm.h util: move u_stub to src/util, add u_stub_gfx_compute.h 2026-04-17 09:40:13 +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/parse_ib: Fix printing enc recon VAs on VCN5 2026-04-21 08:09:09 +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 amd: add initial common code for gfx11.7 2026-04-18 18:54:23 +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 amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
ac_surface.h amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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 amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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/vcn_dec: add addr_mode for VCN 5.0.1 2026-04-01 10:32:20 -04: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 amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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 amd: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +00:00
amd_family.h ac: add gfx11.7 enums 2026-04-17 11:32:55 +00: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: remove unnecessary and transitive #includes 2026-04-24 21:53:07 +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