[PATCH] drm/amdgpu/amdgpu_smu: Fix IP version checking in smu_set_funcs()
Alex Deucher
alexander.deucher at amd.com
Mon Oct 4 18:22:20 UTC 2021
Was missing the IP version check for green sardine.
Fixes: db95b2bd598d1a ("drm/amdgpu/amdgpu_smu: convert to IP version checking")
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
index b633f202b466..4ea7e90ef60d 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -588,6 +588,7 @@ static int smu_set_funcs(struct amdgpu_device *adev)
sienna_cichlid_set_ppt_funcs(smu);
break;
case IP_VERSION(12, 0, 0):
+ case IP_VERSION(12, 0, 1):
renoir_set_ppt_funcs(smu);
break;
case IP_VERSION(11, 5, 0):
--
2.31.1
More information about the amd-gfx
mailing list