Commit c90e5d20 authored by David Rokhvarg's avatar David Rokhvarg Committed by Alex Deucher

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

This replaces programming of a hardcoded value.
Signed-off-by: default avatarDavid Rokhvarg <David.Rokhvarg@amd.com>
parent 283b1a8b
...@@ -789,9 +789,11 @@ static int cz_tf_set_deep_sleep_sclk_threshold(struct pp_hwmgr *hwmgr, ...@@ -789,9 +789,11 @@ static int cz_tf_set_deep_sleep_sclk_threshold(struct pp_hwmgr *hwmgr,
if (clks == 0) if (clks == 0)
clks = CZ_MIN_DEEP_SLEEP_SCLK; 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, smum_send_msg_to_smc_with_parameter(hwmgr->smumgr,
PPSMC_MSG_SetMinDeepSleepSclk, PPSMC_MSG_SetMinDeepSleepSclk,
CZ_MIN_DEEP_SLEEP_SCLK); clks);
} }
return 0; return 0;
......
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