We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97a3d60 commit 5ce4726Copy full SHA for 5ce4726
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
@@ -1312,12 +1312,10 @@ static int smu_smc_hw_setup(struct smu_context *smu)
1312
return ret;
1313
}
1314
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
- }
+ ret = smu_enable_thermal_alert(smu);
+ if (ret) {
+ dev_err(adev->dev, "Failed to enable thermal alert!\n");
+ return ret;
1321
1322
1323
ret = smu_notify_display_change(smu);
0 commit comments