diff options
author | Sean Rhodes <sean@starlabs.systems> | 2024-02-19 21:03:47 +0000 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-06-07 18:32:11 +0000 |
commit | df2c85f52b008f8a4f8e0c3a18706bb2217b5f6f (patch) | |
tree | 3461f47d3625f38002d96743121cac1b5bf8f158 | |
parent | 2524c61df6f3c4a760f6a696ac152e71d3259c7b (diff) | |
download | coreboot-df2c85f52b008f8a4f8e0c3a18706bb2217b5f6f.tar.gz coreboot-df2c85f52b008f8a4f8e0c3a18706bb2217b5f6f.tar.bz2 coreboot-df2c85f52b008f8a4f8e0c3a18706bb2217b5f6f.zip |
mb/starlabs/starbook/kbl: Configure the TCC Offset based on Power Profile
Configure the TCC Offset based on the active power profile
Change-Id: I58940441a7cefc7a2a07e5e9f7e8a15cb8730ef3
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81413
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
-rw-r--r-- | src/mainboard/starlabs/starbook/variants/kbl/devtree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/starbook/variants/kbl/devtree.c b/src/mainboard/starlabs/starbook/variants/kbl/devtree.c index 64f638bf777c..38017dc2e9c5 100644 --- a/src/mainboard/starlabs/starbook/variants/kbl/devtree.c +++ b/src/mainboard/starlabs/starbook/variants/kbl/devtree.c @@ -22,14 +22,17 @@ void devtree_update(void) disable_turbo(); soc_conf->tdp_pl1_override = 15; soc_conf->tdp_pl2_override = 15; + cfg->tcc_offset = 20; break; case PP_BALANCED: soc_conf->tdp_pl1_override = 17; soc_conf->tdp_pl2_override = 20; + cfg->tcc_offset = 15; break; case PP_PERFORMANCE: soc_conf->tdp_pl1_override = 20; soc_conf->tdp_pl2_override = 25; + cfg->tcc_offset = 10; break; } |