enable the dpm feature for the renoir.
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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,
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;