Commit 6b085c51 authored by David Rokhvarg's avatar David Rokhvarg Committed by Tim Gardner

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

BugLink: http://bugs.launchpad.net/bugs/1546572

This replaces programming of a hardcoded value.
Signed-off-by: default avatarDavid Rokhvarg <David.Rokhvarg@amd.com>
(cherry picked from commit c90e5d20)
Signed-off-by: default avatarAlberto Milone <alberto.milone@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent bf1d9204
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment