From: Xiaojian Du Date: Thu, 31 Dec 2020 07:47:40 +0000 (+0800) Subject: drm/amd/pm: enable dclk/vclk dpm function in "auto" power profile for vangogh X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b0eec12447683b085150d32cc73b649247deb82c;p=linux.git drm/amd/pm: enable dclk/vclk dpm function in "auto" power profile for vangogh This patch is to enable dclk/vclk dpm function in "auto" power profile for vangogh. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c index a6777601a128c..d0417eb93d054 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c @@ -1009,6 +1009,8 @@ static int vangogh_unforce_dpm_levels(struct smu_context *smu) {SMU_MCLK, SMU_FEATURE_DPM_FCLK_BIT}, {SMU_FCLK, SMU_FEATURE_DPM_FCLK_BIT}, {SMU_SOCCLK, SMU_FEATURE_DPM_SOCCLK_BIT}, + {SMU_VCLK, SMU_FEATURE_VCN_DPM_BIT}, + {SMU_DCLK, SMU_FEATURE_VCN_DPM_BIT}, }; for (i = 0; i < ARRAY_SIZE(clk_feature_map); i++) {