mesa/src/amd/common
Marek Olšák 146a92dd9f radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs
They are not available on APUs.

This adds a new template parameter HAS_PAIRS. into draw functions.
Other places add back the non-pairs code for gfx11.

Fixes: 22f3bcfb - radeonsi/gfx11: use SET_*_REG_PAIRS_PACKED packets for pm4 states
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9259

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24010>
2023-07-09 04:18:05 -04:00
..
ac_binary.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_binary.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_debug.c amd: add a new helper that prints all non-shadowed regs 2023-06-17 23:42:21 +00:00
ac_debug.h amd: add a new helper that prints all non-shadowed regs 2023-06-17 23:42:21 +00:00
ac_drm_fourcc.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_gpu_info.c radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
ac_gpu_info.h radeonsi/gfx11: only use SET_*_PAIRS* packets on dGPUs 2023-07-09 04:18:05 -04:00
ac_hw_stage.h amd: Move ac_hw_stage to its own file 2023-07-03 21:12:45 +00:00
ac_msgpack.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_msgpack.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_nir.c radv: Use nir_builder_at 2023-07-03 15:21:37 +00:00
ac_nir.h ac: Replace the usage of pipe_compare_func with compare_func 2023-06-11 06:27:05 +00:00
ac_nir_cull.c nir: use nir_imm_{true,false} 2023-06-15 13:34:48 +00:00
ac_nir_lower_esgs_io_to_mem.c amd: Use nir_ instead of nir_build_ helpers 2023-06-27 17:37:54 +00:00
ac_nir_lower_global_access.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_nir_lower_image_opcodes_cdna.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_nir_lower_ngg.c ac/nir/ngg: Follow tex sources when analyzing before culling. 2023-06-30 11:47:03 +00:00
ac_nir_lower_ps.c ac/nir: Support Primitive Ordered Pixel Shading in lower_ps 2023-06-26 15:58:03 +00:00
ac_nir_lower_resinfo.c nir: add missed nir_cmp_imm-helpers 2023-06-15 13:34:49 +00:00
ac_nir_lower_subdword_loads.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_nir_lower_taskmesh_io_to_mem.c compiler: Move from nir_scope to mesa_scope 2023-06-19 23:29:26 +00:00
ac_nir_lower_tess_io_to_mem.c compiler: Move from nir_scope to mesa_scope 2023-06-19 23:29:26 +00:00
ac_nir_lower_tex.c aco,ac/llvm,ac/nir,vtn: unify cube opcodes 2023-06-30 15:35:03 +00:00
ac_nir_opt_outputs.c nir: Use nir_builder_create 2023-06-27 18:13:02 +00:00
ac_perfcounter.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_perfcounter.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_rgp.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_rgp.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_rgp_elf_object_pack.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_rtld.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_rtld.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_shader_args.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_shader_args.h ac: Define POPS collision wave ID argument SGPR 2023-06-26 15:58:03 +00:00
ac_shader_util.c ac: fix PIPE_FORMAT_R11G11B10_FLOAT DST_SEL_W 2023-06-15 10:33:03 +00:00
ac_shader_util.h amd: Move ac_hw_stage to its own file 2023-07-03 21:12:45 +00:00
ac_shadowed_regs.c amd: update shadowed register tables for gfx11 2023-06-17 23:42:21 +00:00
ac_shadowed_regs.h amd: add a new helper that prints all non-shadowed regs 2023-06-17 23:42:21 +00:00
ac_spm.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_spm.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_sqtt.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_sqtt.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_surface.c nir: use more imm-helpers 2023-06-15 13:34:48 +00:00
ac_surface.h ac/surface: relax custom pitch requirements to any multiple of 256B on gfx10.3+ 2023-06-01 18:46:20 +00:00
ac_surface_meta_address_test.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_surface_modifier_test.c amd: change chip_class naming to "enum amd_gfx_level gfx_level" 2022-05-13 14:56:22 -04:00
ac_surface_test_common.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_uvd_dec.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
ac_vcn.h radeonsi/ac: move some vcn defines to common 2023-04-27 02:00:03 +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.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
amd_family.c ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
amd_family.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
amd_kernel_code_t.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
gfx10_format_table.h ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
gfx10_format_table.py ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00
meson.build ac/radeonsi: add av1 defaults header file from radeonsi 2023-06-16 05:53:44 +00:00
sid.h amd: improve the IB parser, parse more packets 2023-06-17 23:42:20 +00:00
sid_tables.py ac,radeonsi,winsyses: switch to SPDX-License-Identifier: MIT 2023-05-24 21:48:19 +00:00