From: Prike Liang Date: Thu, 25 Jul 2019 05:56:51 +0000 (+0800) Subject: drm/amd/powerplay: enable renoir dpm feature X-Git-Tag: v5.4-rc1~32^2~9^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d237e0974b21bebcc15ad1f8e23f51538230dcf5;p=platform%2Fkernel%2Flinux-rpi.git drm/amd/powerplay: enable renoir dpm feature enable the dpm feature for the renoir. Signed-off-by: Prike Liang Reviewed-by: Aaron Liu Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 935f277..9e774f5 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;