drm/amd/powerplay: enable fclk ss by default
authorEvan Quan <evan.quan@amd.com>
Tue, 17 Jul 2018 02:22:37 +0000 (10:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:35 +0000 (11:10 -0500)
Set fclk ss as enabled on default.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Rex Zhu <rezhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_processpptables.c

index 32d24a48a947c3bb6cdf31c32eb59f5c5fd9e518..5f1f7a32ac2479279c9a3ee2552831327b407071 100644 (file)
@@ -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;