summaryrefslogtreecommitdiff
path: root/Documentation/cpu-freq
diff options
context:
space:
mode:
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2016-10-25 13:20:41 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-11-01 06:04:06 +0100
commit5879f877398a2a5e5006c6e16a4288e9d4c308a1 (patch)
tree28bf92f4d5ecca835c031e05e731f303ef988ef7 /Documentation/cpu-freq
parenteae48f046ffa117afb782cd9b3ae5469df0042e2 (diff)
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