Maximilian Brune has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/84379?usp=email )
Change subject: Update UPD for system configuration, Fast and Slow PPT to set 45W TDP ......................................................................
Update UPD for system configuration, Fast and Slow PPT to set 45W TDP
Signed-off-by: Anand Vaikar Anand.Vaikar@amd.com Change-Id: Ib73c3a1270c7b1d490fd14c4e60f7aa9be93429b Reviewed-on: https://gerrit-git.amd.com/c/embedded/ec/coreboot/+/1031235 Reviewed-by: Avinash Munduru Avinash.Munduru@amd.com --- M src/soc/amd/glinda/fsp_m_params.c 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/84379/1
diff --git a/src/soc/amd/glinda/fsp_m_params.c b/src/soc/amd/glinda/fsp_m_params.c index 843a2d9..1142a09 100644 --- a/src/soc/amd/glinda/fsp_m_params.c +++ b/src/soc/amd/glinda/fsp_m_params.c @@ -115,6 +115,8 @@ mcfg->sustained_power_limit = config->sustained_power_limit_mW; mcfg->fast_ppt_limit = config->fast_ppt_limit_mW; mcfg->slow_ppt_limit = config->slow_ppt_limit_mW; + mcfg->fast_ppt_limit = 45 * 1000; + mcfg->slow_ppt_limit = 45 * 1000; mcfg->slow_ppt_time_constant = config->slow_ppt_time_constant_s; mcfg->thermctl_limit = config->thermctl_limit_degreeC;
@@ -123,7 +125,7 @@
/* 0 is default */ mcfg->system_configuration = config->system_configuration; - + mcfg->system_configuration = 4; //TDP to 45W /* when cppc_ctrl is 0 the other values won't be used */ mcfg->cppc_ctrl = config->cppc_ctrl; mcfg->cppc_perf_limit_max_range = config->cppc_perf_limit_max_range;