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)
committerTodd Poynor <toddpoynor@google.com>
Wed, 16 Oct 2013 01:03:08 +0000 (18:03 -0700)
commit65f53ba0525cf92f397b22aea94ee637542a6757
tree65fae19eca5b5fbd072c188dbc262270db1c1cee
parente50d640cacfe61e69f1b4fa92fa0174c688e919c
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