mbox series

[v3,0/2] Improve the estimations in Intelligent Power Allocation

Message ID 20201009135850.14727-1-lukasz.luba@arm.com (mailing list archive)
Headers show
Series Improve the estimations in Intelligent Power Allocation | expand

Message

Lukasz Luba Oct. 9, 2020, 1:58 p.m. UTC
Hi all,

The Intelligent Power Allocation (IPA) estimates the needed coefficients for
internal algorithm. It can also estimate the sustainable power value when the
DT has not provided one. Fix the 'k_i' coefficient which might be to big
related to the other values, when the sustainable power is in an abstract
scale. Do the estimation only once and avoid expensive calculation every time
the IPA is called.

The patch set should apply on top of patches adding upper and lower bound for
power actors [1].

Regards,
Lukasz Luba

[1] https://lore.kernel.org/linux-pm/20201007122256.28080-1-lukasz.luba@arm.com/

Lukasz Luba (2):
  thermal: power allocator: change the 'k_i' coefficient estimation
  thermal: power allocator: change how estimation code is called

 drivers/thermal/gov_power_allocator.c | 73 +++++++++++++--------------
 1 file changed, 35 insertions(+), 38 deletions(-)