Commit 8d7315ce authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amd/powerplay: do not set dpm_enabled flag before VCN/DCN DPM is workable

This dpm_enabled flag will be recognized as the VCN DPM enabled as well. In fact
VCN/DCN DPM on Navi10 is not good so far, so we cannot enable it for now.
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Acked-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 4b2bb705
...@@ -866,6 +866,9 @@ static int smu_hw_init(void *handle) ...@@ -866,6 +866,9 @@ static int smu_hw_init(void *handle)
adev->pm.dpm_enabled = false; adev->pm.dpm_enabled = false;
else else
adev->pm.dpm_enabled = true; adev->pm.dpm_enabled = true;
/* TODO: will set dpm_enabled flag while VCN and DAL DPM is workable */
if (adev->asic_type != CHIP_NAVI10)
adev->pm.dpm_enabled = true;
pr_info("SMU is initialized successfully!\n"); pr_info("SMU is initialized successfully!\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment