mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
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 666f14cab2)
This commit is contained in:
committed by
Alex Deucher
parent
a03ebf1163
commit
73048bda46
@@ -484,6 +484,10 @@ static int soc24_common_hw_init(void *handle)
|
||||
*/
|
||||
if (adev->nbio.funcs->remap_hdp_registers)
|
||||
adev->nbio.funcs->remap_hdp_registers(adev);
|
||||
|
||||
if (adev->df.funcs->hw_init)
|
||||
adev->df.funcs->hw_init(adev);
|
||||
|
||||
/* enable the doorbell aperture */
|
||||
soc24_enable_doorbell_aperture(adev, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user