mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 11:58:32 -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
@@ -37,6 +37,7 @@
|
||||
#include "df_v3_6.h"
|
||||
#include "df_v4_3.h"
|
||||
#include "df_v4_6_2.h"
|
||||
#include "df_v4_15.h"
|
||||
#include "nbio_v6_1.h"
|
||||
#include "nbio_v7_0.h"
|
||||
#include "nbio_v7_4.h"
|
||||
@@ -2803,6 +2804,10 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
|
||||
case IP_VERSION(4, 6, 2):
|
||||
adev->df.funcs = &df_v4_6_2_funcs;
|
||||
break;
|
||||
case IP_VERSION(4, 15, 0):
|
||||
case IP_VERSION(4, 15, 1):
|
||||
adev->df.funcs = &df_v4_15_funcs;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user