From: Eric Huang <[email protected]> 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 <[email protected]> Reviewed-by: David Belanger <[email protected]> Signed-off-by: Alex Deucher <[email protected]> --- 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 9a04e681a0cb4..965063696308e 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: -- 2.55.0
