]> www.infradead.org Git - nvme.git/commit
drm/amdgpu: Fix atomics on GFX12
authorDavid Belanger <david.belanger@amd.com>
Mon, 10 Jun 2024 20:38:55 +0000 (16:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Jul 2024 21:30:23 +0000 (17:30 -0400)
commit73048bda46c3085df5fd42840de09523386d3e54
treec3351fee78dae1c214cc486ee86bbb42e7c1cdd8
parenta03ebf116303e5d13ba9a2b65726b106cb1e96f6
drm/amdgpu: Fix atomics on GFX12

If PCIe supports atomics, configure register to prevent DF from
breaking atomics in separate load/store operations.

Signed-off-by: David Belanger <david.belanger@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 666f14cab21b17ccc1bdfe1e82458aa429b3b7e0)
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_df.h
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/df_v4_15.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/df_v4_15.h [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/soc24.c
drivers/gpu/drm/amd/include/asic_reg/df/df_4_15_offset.h [new file with mode: 0644]
drivers/gpu/drm/amd/include/asic_reg/df/df_4_15_sh_mask.h [new file with mode: 0644]