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

From: Lukasz Luba
Date: Fri Oct 02 2020 - 08:24:27 EST


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.

Regards,
Lukasz Luba

Lukasz Luba (2):
thermal: power allocator: change the 'k_i' coefficient estimation
thermal: power allocator: estimate sustainable power only once

drivers/thermal/gov_power_allocator.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

--
2.17.1