Skip to content

Commit 0b61c8e

Browse files
kiram9JohnAZoidberg
authored andcommitted
fwk: hx30 drop cpu power slightly
PL2 cpu power can be dropped slightly as we are thermally limited in PL2, this will extend the PL2 boost time slightly, but will keep a higher peak PL2 for longer, so long term perf should be about the same Signed-off-by: Kieran Levin <ktl@frame.work>
1 parent cd3da43 commit 0b61c8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

board/hx30/cpu_power.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ void update_soc_power_limit(bool force_update, bool force_no_adapter)
6666
} else if (battery_percent < 30) {
6767
/* ADP > 55W and Battery percentage < 30% */
6868
pl4_watt = active_power - 15 - pps_power_budget;
69-
pl2_watt = MIN((pl4_watt * 90) / 100, 64);
69+
pl2_watt = MIN((pl4_watt * 90) / 100, 60);
7070
psys_watt = ((active_power * 95) / 100) - pps_power_budget;
7171
} else {
7272
/* ADP > 55W and Battery percentage >= 30% */
73-
pl2_watt = 64;
73+
pl2_watt = 60;
7474
pl4_watt = 140;
7575
/* psys watt = adp watt * 0.95 + battery watt(55 W) * 0.7 - pps power budget */
7676
psys_watt = ((active_power * 95) / 100) + 39 - pps_power_budget;

0 commit comments

Comments
 (0)