Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59999 )
Change subject: [WIP] mb/prodrive/hermes: Enable continuous Turbo Boost ......................................................................
[WIP] mb/prodrive/hermes: Enable continuous Turbo Boost
Set PL1 to 1.25x TDP (same as PL2) for continuous Turbo Boost.
TO DO: Add an option to control this.
Change-Id: Ia8f629c92a51db84859e43748d44e479664f3716 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/mainboard/prodrive/hermes/mainboard.c 1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/59999/1
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c index 6ca9613..e201c6a 100644 --- a/src/mainboard/prodrive/hermes/mainboard.c +++ b/src/mainboard/prodrive/hermes/mainboard.c @@ -10,6 +10,7 @@ #include <device/dram/spd.h> #include <drivers/intel/gma/opregion.h> #include <gpio.h> +#include <intelblocks/cpulib.h> #include <intelblocks/gpio.h> #include <intelblocks/pmclib.h> #include <smbios.h> @@ -242,6 +243,12 @@ config->deep_s5_enable_dc = board_cfg->deep_sx_enabled; }
+ /* + * Set PL1 to 1.25x TDP (same as PL2) for continuous Turbo Boost. + * 800 = 1.25 / 1000 (mW to W conversion) + */ + config->power_limits_config.tdp_pl1_override = cpu_get_power_max() / 800; + if (check_signature(offsetof(struct eeprom_layout, supd), FSPS_UPD_SIGNATURE)) { struct { struct {