soc/intel/cmn/block/power_limit: Enforce variant PL4 for Fast VMode
Adds a new assignment in variant_update_cpu_power_limits() to enforce the desired PL4 power limit regardless of whether Fast VMode is enabled or not. Change-Id: I8b376d283b2a28333c8efc932bc2f776dfb5584a Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87958 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
d9c5cef7f0
commit
1537c89e8d
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ void variant_update_cpu_power_limits(const struct cpu_tdp_power_limits *limits,
|
|||
settings->pl2.min_power = limits[index].pl2_min_power;
|
||||
settings->pl2.max_power = limits[index].pl2_max_power;
|
||||
soc_config->tdp_pl4 = DIV_ROUND_UP(limits[index].pl4_power, MILLIWATTS_TO_WATTS);
|
||||
soc_config->tdp_pl4_fastvmode = soc_config->tdp_pl4;
|
||||
printk(BIOS_INFO, "Overriding power limits PL1 (mW) (%u, %u) PL2 (mW) (%u, %u) PL4 (W) (%u)\n",
|
||||
settings->pl1.min_power,
|
||||
settings->pl1.max_power,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue