1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

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

This replaces programming of a hardcoded value.

Signed-off-by: David Rokhvarg <David.Rokhvarg@amd.com>
This commit is contained in:
David Rokhvarg 2015-12-11 12:06:25 -05:00 committed by Alex Deucher
parent 283b1a8bfb
commit c90e5d20fc

View file

@ -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;