summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianci.Yin <tianci.yin@amd.com>2019-11-01 13:12:17 +0800
committerTianci Yin <Tianci.Yin@amd.com>2019-11-01 02:03:38 -0400
commit433daad764264864672c01bb8646b671227f7b1c (patch)
treeb7ce2bf57ccefe381a234b114c7a9ee9c72796d6
parent31255d8cc2312c6730c9a7fbd5fd1758b95e4d32 (diff)
drm/amd/powerplay/smu11: disable uclk dpm feature on navi14
disable DPM UCLK on navi14 Change-Id: Id92555a4447a85200dea67250691352219897639 Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Tianci.Yin <tianci.yin@amd.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/navi10_ppt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
index 971d5c5bcd9e..3beafeb1654c 100644
--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
@@ -368,6 +368,14 @@ navi10_get_allowed_feature_mask(struct smu_context *smu,
}
}
+ /* disable DPM UCLK on navi14 */
+ if (adev->asic_type == CHIP_NAVI14) {
+ *(uint64_t *)feature_mask &=
+ ~(FEATURE_MASK(FEATURE_DPM_UCLK_BIT)
+ | FEATURE_MASK(FEATURE_MEM_VDDCI_SCALING_BIT)
+ | FEATURE_MASK(FEATURE_MEM_MVDD_SCALING_BIT));
+ }
+
return 0;
}