[PATCH v3 1/4] thermal: power_allocator: rework proportional parameter

2016-01-06 Thread Leo Yan
k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and cannot represent the ratio relationship with sustainable power; as a result, when change

[PATCH v3 1/4] thermal: power_allocator: rework proportional parameter

2016-01-06 Thread Leo Yan
k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and cannot represent the ratio relationship with sustainable power; as a result, when change