From: Prike Liang <[email protected]>

enable the dpm feature for the renoir.

Signed-off-by: Prike Liang <[email protected]>
Reviewed-by: Aaron Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
---
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c 
b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index ebfd631521c8..808c8e02a650 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -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;
-- 
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to