]> www.infradead.org Git - users/dwmw2/linux.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>
Tue, 23 Jul 2024 21:33:17 +0000 (17:33 -0400)
commit666f14cab21b17ccc1bdfe1e82458aa429b3b7e0
tree00d27cb6f6efef2f30ceb207137c48a8df43f96d
parent4df9e2200fb8ae7199e46eaffeb9430bc0ba3ea7
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>
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]