2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-03 19:24:02 +08:00

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: Huang Rui <ray.huang@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Huang Rui 2019-05-29 23:15:54 -05:00 committed by Alex Deucher
parent 4b2bb705a0
commit 8d7315cef9

View File

@ -866,6 +866,9 @@ static int smu_hw_init(void *handle)
adev->pm.dpm_enabled = false;
else
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");