提交 c90e5d20 编写于 作者: D David Rokhvarg 提交者: Alex Deucher

drm/amdgpu/powerplay: Program a calculated value as Deep Sleep clock.

This replaces programming of a hardcoded value.
Signed-off-by: NDavid Rokhvarg <David.Rokhvarg@amd.com>
上级 283b1a8b
......@@ -789,9 +789,11 @@ static int cz_tf_set_deep_sleep_sclk_threshold(struct pp_hwmgr *hwmgr,
if (clks == 0)
clks = CZ_MIN_DEEP_SLEEP_SCLK;
PP_DBG_LOG("Setting Deep Sleep Clock: %d\n", clks);
smum_send_msg_to_smc_with_parameter(hwmgr->smumgr,
PPSMC_MSG_SetMinDeepSleepSclk,
CZ_MIN_DEEP_SLEEP_SCLK);
PPSMC_MSG_SetMinDeepSleepSclk,
clks);
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册