Commit 8a7b9767 authored by Kenneth Feng's avatar Kenneth Feng Committed by Alex Deucher

drm/amd/pm: temporarily disable thermal alert on smu_v13_0_10

temporarily disable thermal alert on smu_v13_0_10 due to kfd test fail.
will enable it again after confirming the thermal hardware setting.
Signed-off-by: default avatarKenneth Feng <kenneth.feng@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e5b781c5
...@@ -1312,10 +1312,12 @@ static int smu_smc_hw_setup(struct smu_context *smu) ...@@ -1312,10 +1312,12 @@ static int smu_smc_hw_setup(struct smu_context *smu)
return ret; return ret;
} }
ret = smu_enable_thermal_alert(smu); if (adev->ip_versions[MP1_HWIP][0] != IP_VERSION(13, 0, 10)) {
if (ret) { ret = smu_enable_thermal_alert(smu);
dev_err(adev->dev, "Failed to enable thermal alert!\n"); if (ret) {
return ret; dev_err(adev->dev, "Failed to enable thermal alert!\n");
return ret;
}
} }
ret = smu_notify_display_change(smu); ret = smu_notify_display_change(smu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment