diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2015-12-02 01:52:14 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-02 23:50:33 +0100 |
commit | 69030dd1c3671625c6f766af0b64a4bb4409ac3b (patch) | |
tree | 9d7d4ecc711c024b79b9fe2d39500acf4393a5a1 /Kconfig | |
parent | intel_pstate: Fix "performance" mode behavior with HWP enabled (diff) | |
download | linux-69030dd1c3671625c6f766af0b64a4bb4409ac3b.tar.xz linux-69030dd1c3671625c6f766af0b64a4bb4409ac3b.zip |
cpufreq: use last policy after online for drivers with ->setpolicy
For cpufreq drivers which use setpolicy interface, after offline->online
the policy is set to default. This can be reproduced by setting the
default policy of intel_pstate or longrun to ondemand and then change to
"performance". After offline and online, the setpolicy will be called with
the policy=ondemand.
For drivers using governors this condition is handled by storing
last_governor, during offline and restoring during online. The same should
be done for drivers using setpolicy interface. Storing last_policy during
offline and restoring during online.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions