cpufreq:LAB:core: Redesign of LAB code to work on top of ONDEMAND governor
authorLukasz Majewski <l.majewski@samsung.com>
Thu, 27 Feb 2014 12:30:06 +0000 (13:30 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:38 +0000 (07:27 +0200)
commit74ad54b3899653dace339a1be0c5226bbce217ea
treecfb4bc7370d9976adcaaafad1682e92c4469510c
parente1dbc7f9b7cf78d5979ae9e9599c213f003d94e8
cpufreq:LAB:core: Redesign of LAB code to work on top of ONDEMAND governor

The code for LAB has been redesigned to be able to work on top of Ondemand
governor.
Previous version of LAB - the one which used the polynomial approximation
has been replaced with more readable approach.
The LAB control approach is now read from device tree.

User is allowed to specify following operations (based on load and number of
idle CPUs):
- Force a particular frequency
- Explicitly enable boost for a specific kind of load
- Use ondemand governor

By using ondemand one can be sure that for non critical frequencies correct
value will be chosen.
LAB, which works on top of it, can clamp the freq (an thereof power management)
or explicitly enable boost.

Change-Id: Ieaf84d245463edf90fb2baaf825c0534970eab7e
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_lab.c