gfx13 needs to program DF config register as gfx12, so share the function of gfx12, they have the same register layout.
Signed-off-by: Eric Huang <[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 055cc4f1c861..56a7764f3f8f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c @@ -3385,6 +3385,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.34.1
