From: Huang Rui <ray.huang@xxxxxxx> 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@xxxxxxx> Acked-by: Hawking Zhang <Hawking.Zhang@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 858ce5db687f..06f5e5ce9db1 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -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"); -- 2.20.1 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx