[PATCH 28/38] drm/amd/powerplay: enable fclk ss by default

Alex Deucher alexdeucher at gmail.com
Tue Aug 14 16:52:38 UTC 2018


From: Evan Quan <evan.quan at amd.com>

Set fclk ss as enabled on default.

Signed-off-by: Evan Quan <evan.quan at amd.com>
Reviewed-by: Rex Zhu <rezhu at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c
index 32d24a48a947..5f1f7a32ac24 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c
@@ -810,7 +810,7 @@ static int append_vbios_pptable(struct pp_hwmgr *hwmgr, PPTable_t *ppsmc_pptable
 	ppsmc_pptable->UclkSpreadPercent = smc_dpm_table->uclkspreadpercent;
 	ppsmc_pptable->UclkSpreadFreq = smc_dpm_table->uclkspreadfreq;
 
-	ppsmc_pptable->FclkSpreadEnabled = 0;
+	ppsmc_pptable->FclkSpreadEnabled = smc_dpm_table->fclkspreadenabled;
 	ppsmc_pptable->FclkSpreadPercent = smc_dpm_table->fclkspreadpercent;
 	ppsmc_pptable->FclkSpreadFreq = smc_dpm_table->fclkspreadfreq;
 
-- 
2.13.6



More information about the amd-gfx mailing list