mesa/src/amd/common
Marek Olšák c4ca059dee ac/surface: fix an addrlib race condition on gfx9
Addrlib calls GetMetaEquation, which generates and saves address equations
in a global table that is not thread safe.

Fixes: df2cbdd2e3 - amd/addrlib: expose DCC address equations to drivers
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6361

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16091>
2022-04-22 19:12:03 +00:00
..
ac_binary.c ac,radeonsi: use correct VGPR granularity on Aldebaran 2021-03-10 18:02:28 +00:00
ac_binary.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_debug.c ac: parse SET_SH_REG_INDEX packet 2022-03-01 22:30:24 +00:00
ac_debug.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
ac_drm_fourcc.h ac: fix win32 build 2021-07-06 14:49:24 +00:00
ac_gpu_info.c util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
ac_gpu_info.h ac: Query the amdgpu MEC firmware version. 2022-03-09 21:31:48 +00:00
ac_msgpack.c ac/rgp: add ac_msgpack.h/c 2021-02-19 14:29:46 +00:00
ac_msgpack.h ac/rgp: add ac_msgpack.h/c 2021-02-19 14:29:46 +00:00
ac_nir.c ac: move ac_lower_indirect_derefs() outside of the LLVM dir 2021-04-23 11:52:01 +02:00
ac_nir.h radv,ac/nir: lower global access to _amd global access intrinsics 2022-04-13 16:23:35 +00:00
ac_nir_cull.c ac/nir: use shorter builder names 2022-01-21 13:45:33 +00:00
ac_nir_lower_esgs_io_to_mem.c ac/nir: avoid providing a write_mask to intrinsic builders 2022-01-21 13:45:33 +00:00
ac_nir_lower_global_access.c ac/nir: properly handle large global access constant offsets 2022-04-15 10:39:40 +00:00
ac_nir_lower_ngg.c ac/nir: fix 64-bit NGG GS output stores 2022-04-16 11:19:11 +00:00
ac_nir_lower_tess_io_to_mem.c ac/nir: remove TCS nir_var_shader_out memory barrier 2022-03-01 11:02:43 +00:00
ac_perfcounter.c ac: add initial SPM support 2021-11-11 10:05:49 +00:00
ac_perfcounter.h ac: add initial SPM support 2021-11-11 10:05:49 +00:00
ac_rgp.c ac/gpu_info: set cu_mask correctly for Arcturus 2022-01-05 01:36:10 -05:00
ac_rgp.h ac/rgp: add support for dumping SPM data 2021-11-11 10:05:49 +00:00
ac_rgp_elf_object_pack.c treewide: drop mtypes/macros includes from main 2021-12-08 22:14:45 +00:00
ac_rtld.c replace 0 with NULL for NULL pointers 2022-01-10 22:53:32 +00:00
ac_rtld.h ac/rtld: make ac_rtld_upload returns the code size 2021-03-05 13:10:11 +00:00
ac_shader_args.c ac: add shader return values into ac_shader_args 2020-12-09 20:13:24 +00:00
ac_shader_args.h radv: increase inline push constant limit if we can inline all constants 2022-04-12 11:44:30 +00:00
ac_shader_util.c ac,radeonsi: rework and optimize how TMPRING_SIZE is set 2022-02-22 11:41:04 +00:00
ac_shader_util.h radv,aco: lower texture descriptor loads in NIR 2022-03-22 16:33:27 +00:00
ac_shadowed_regs.c ac: update shadowed registers 2022-02-22 11:41:04 +00:00
ac_shadowed_regs.h ac: add ifdef __cplusplus guard to header 2021-01-14 10:33:10 +01:00
ac_spm.c ac/spm: setup write broadcasting correctly 2022-04-22 13:51:44 +02:00
ac_spm.h ac: add initial SPM support 2021-11-11 10:05:49 +00:00
ac_sqtt.c radv: Add safety check for RGP traces on VanGogh. 2021-12-17 21:25:01 +00:00
ac_sqtt.h radv: Add safety check for RGP traces on VanGogh. 2021-12-17 21:25:01 +00:00
ac_surface.c ac/surface: fix an addrlib race condition on gfx9 2022-04-22 19:12:03 +00:00
ac_surface.h ac/surface: add more elements to meta equations because HTILE can use them 2022-02-22 11:41:04 +00:00
ac_surface_meta_address_test.c ac/surface: add tests for CmaskAddrFromCoord on GFX10+ 2021-08-05 06:37:09 +00:00
ac_surface_modifier_test.c ac/surface/tests: fix missing NUM_PKRS extraction in test_modifier 2022-02-22 11:41:04 +00:00
ac_surface_test_common.h ac/surface/tests: fix RB counts 2021-06-20 01:22:01 -04:00
ac_uvd_dec.h amd: move uvd decode definitions to common place 2022-01-20 07:07:32 +10:00
ac_vcn_dec.h amd: move vcn decoding regs + structs to a common file. 2022-01-20 07:07:30 +10:00
amd_family.c amd: add support for gfx1036 and gfx1037 chips 2022-03-01 17:03:00 +00:00
amd_family.h amd: add support for gfx1036 and gfx1037 chips 2022-03-01 17:03:00 +00:00
amd_kernel_code_t.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
gfx10_format_table.h amd/common: switch to 3-spaces style 2020-09-07 10:00:29 +02:00
gfx10_format_table.py python: drop python2 support 2021-08-14 21:44:32 +00:00
meson.build radv,ac/nir: lower global access to _amd global access intrinsics 2022-04-13 16:23:35 +00:00
sid.h amd: add PKT3_LOAD_SH_REG_INDEX 2022-03-14 08:54:23 +00:00
sid_tables.py python: drop python2 support 2021-08-14 21:44:32 +00:00