[PATCH 187/459] drm/amd/powerplay: do not set dpm_enabled flag before VCN/DCN DPM is workable
Alex Deucher
alexdeucher at gmail.com
Mon Jun 17 19:26:52 UTC 2019
From: Huang Rui <ray.huang at amd.com>
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 at amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
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
More information about the amd-gfx
mailing list