提交 51548c0f 编写于 作者: H Huang Rui 提交者: Alex Deucher

drm/amdgpu: skip dpm init for renoir

Renoir DPM is not functional so far, we skip it for the comment.
Will revert this patch once SMU 12 is functional.
Signed-off-by: NHuang Rui <ray.huang@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 97222cfa
......@@ -768,6 +768,11 @@ 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,
......@@ -1269,6 +1274,10 @@ 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册