Skip to content

Commit 5ce4726

Browse files
Kenneth Fengalexdeucher
authored andcommitted
drm/amd/pm: enable thermal alert on smu_v13_0_10
enable thermal alert on smu_v13_0_10 Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 97a3d60 commit 5ce4726

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,12 +1312,10 @@ static int smu_smc_hw_setup(struct smu_context *smu)
13121312
return ret;
13131313
}
13141314

1315-
if (adev->ip_versions[MP1_HWIP][0] != IP_VERSION(13, 0, 10)) {
1316-
ret = smu_enable_thermal_alert(smu);
1317-
if (ret) {
1318-
dev_err(adev->dev, "Failed to enable thermal alert!\n");
1319-
return ret;
1320-
}
1315+
ret = smu_enable_thermal_alert(smu);
1316+
if (ret) {
1317+
dev_err(adev->dev, "Failed to enable thermal alert!\n");
1318+
return ret;
13211319
}
13221320

13231321
ret = smu_notify_display_change(smu);

0 commit comments

Comments
 (0)