Commit d237e097 authored by Prike Liang's avatar Prike Liang Committed by Alex Deucher

drm/amd/powerplay: enable renoir dpm feature

enable the dpm feature for the renoir.
Signed-off-by: default avatarPrike Liang <Prike.Liang@amd.com>
Reviewed-by: default avatarAaron Liu <aaron.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9a868d8b
......@@ -768,10 +768,6 @@ static int smu_late_init(void *handle)
if (!smu->pm_enabled)
return 0;
/* To be removed after dpm is enabled */
if (adev->asic_type == CHIP_RENOIR)
return 0;
mutex_lock(&smu->mutex);
smu_handle_task(&adev->smu,
smu->smu_dpm.dpm_level,
......@@ -1275,10 +1271,6 @@ static int smu_hw_init(void *handle)
if (!smu->pm_enabled)
return 0;
/* To be removed after dpm is enabled */
if (adev->asic_type == CHIP_RENOIR)
return 0;
ret = smu_feature_init_dpm(smu);
if (ret)
goto failed;
......
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