Commit 93480f89 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher

Revert "drm/amd/powerplay: disable engine spread spectrum feature on Vega10."

This reverts commit f8fdaa0e7b81698ba2ad8c2d20c7f9a44c75e0c6.
firmware add support for this feature, so still ctrl by vbios.
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent df057e02
...@@ -1542,11 +1542,7 @@ static int vega10_populate_single_gfx_level(struct pp_hwmgr *hwmgr, ...@@ -1542,11 +1542,7 @@ static int vega10_populate_single_gfx_level(struct pp_hwmgr *hwmgr,
current_gfxclk_level->FbMult = current_gfxclk_level->FbMult =
cpu_to_le32(dividers.ulPll_fb_mult); cpu_to_le32(dividers.ulPll_fb_mult);
/* Spread FB Multiplier bit: bit 0:8 int, bit 31:16 frac */ /* Spread FB Multiplier bit: bit 0:8 int, bit 31:16 frac */
if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps,
PHM_PlatformCaps_EngineSpreadSpectrumSupport))
current_gfxclk_level->SsOn = dividers.ucPll_ss_enable; current_gfxclk_level->SsOn = dividers.ucPll_ss_enable;
else
current_gfxclk_level->SsOn = 0;
current_gfxclk_level->SsFbMult = current_gfxclk_level->SsFbMult =
cpu_to_le32(dividers.ulPll_ss_fbsmult); cpu_to_le32(dividers.ulPll_ss_fbsmult);
current_gfxclk_level->SsSlewFrac = current_gfxclk_level->SsSlewFrac =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment