diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2016-10-25 22:20:41 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-01 06:04:06 +0100 |
commit | 5879f877398a2a5e5006c6e16a4288e9d4c308a1 (patch) | |
tree | 28bf92f4d5ecca835c031e05e731f303ef988ef7 /Documentation/cpu-freq | |
parent | cpufreq: intel_pstate: Per CPU P-State limits (diff) | |
download | linux-5879f877398a2a5e5006c6e16a4288e9d4c308a1.tar.xz linux-5879f877398a2a5e5006c6e16a4288e9d4c308a1.zip |
cpufreq: intel_pstate: Reduce impact due to rounding error
When policy->max and policy->min are same, in some cases they don't
result in the same frequency cap. The max_policy_pct is rounded up but
not min_perf_pct. So even when they are same, results in different
percentage or maximum and minimum.
Since minimum is a conservative value for power, a lower value without
rounding is better in most of the cases, unless user wants
policy->max = policy->min.
This change uses use the same policy percentage when policy->max and
policy->min are same.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/cpu-freq')
0 files changed, 0 insertions, 0 deletions