diff options
author | Huang Rui <ray.huang@amd.com> | 2019-05-29 23:15:54 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:59:26 -0500 |
commit | 8d7315cef98bfd1f53b69aafde83bc9834b11904 (patch) | |
tree | c2313cb4d28640103f1bba4b675af3746368928e | |
parent | 4b2bb705a0b72fb8fdc6f6330b737f198097b347 (diff) | |
download | kernel_replicant_linux-8d7315cef98bfd1f53b69aafde83bc9834b11904.tar.gz kernel_replicant_linux-8d7315cef98bfd1f53b69aafde83bc9834b11904.tar.bz2 kernel_replicant_linux-8d7315cef98bfd1f53b69aafde83bc9834b11904.zip |
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>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index fd628fc3c255..71f93f9a1368 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"); |