From a839ca90f459783e5561ce75118759f7eddfc9a5 Mon Sep 17 00:00:00 2001 From: Eric Huang Date: Wed, 24 Jun 2026 14:32:47 -0400 Subject: [PATCH] drm/amdgpu: fix atomics on DF 5.0.2 DF 5.0.2 needs to program DF config register as DF 4.15.x, so share the functions, they have the same register layout. Signed-off-by: Eric Huang Reviewed-by: David Belanger Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c index 95587e4412b2..1657dc4d334d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -3871,6 +3871,7 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev) break; case IP_VERSION(4, 15, 0): case IP_VERSION(4, 15, 1): + case IP_VERSION(5, 0, 2): adev->df.funcs = &df_v4_15_funcs; break; default: