summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-07-25 08:56:51 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-08-23 01:40:58 +0300
commitd237e0974b21bebcc15ad1f8e23f51538230dcf5 (patch)
tree2ce73706f82419b4e979eb9d9f82d356b4f1922f /drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
parent9a868d8bbb9e4796373220e002771aa6955df2cc (diff)
downloadlinux-d237e0974b21bebcc15ad1f8e23f51538230dcf5.tar.xz
drm/amd/powerplay: enable renoir dpm feature
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amdgpu_smu.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/amdgpu_smu.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 935f277e2438..9e774f557771 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;