cpufreq: Interactive: Implement per policy instances of governor
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 16 May 2013 09:28:54 +0000 (14:58 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:52:59 +0000 (13:52 -0800)
commit5690bb14628d1ff8874ed82c2284066096f1eb38
tree1ff1449801c14b7734be861a375210f3be0fd873
parent4d300368ff3648ed99c33d78cc614d1d39d59a6b
cpufreq: Interactive: Implement per policy instances of governor

If we have a multi-package system, where we have multiple instances of struct
policy (per package), currently we can't have multiple instances of same
governor. i.e. We can't have multiple instances of Interactive governor for
multiple packages.

This is a bottleneck for multicluster system, where we want different packages
to use Interactive governor, but with different tunables.

This patch uses the infrastructure provided by earlier patches pushed in
Mainline in v3.10-rc1/rc2 and implements per policy instances of Interactive
governor.

Change-Id: I70436d4a5a45c6cb6edf37f3e46d0b9fbc930982
[toddpoynor@google.com: merge with later code, minor changes]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cpufreq_interactive.c