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

From: Lukasz Luba
Date: Thu Oct 08 2020 - 13:04:47 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.

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@xxxxxxx/

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 | 62 +++++++++++++--------------
1 file changed, 31 insertions(+), 31 deletions(-)

--
2.17.1