Srinivas Pandruvada
5879f87739
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 >
2016-11-01 06:04:06 +01:00
..
2016-10-14 12:50:05 -07:00
2016-09-30 10:28:51 +02:00
2016-10-06 17:03:41 +02:00
2016-10-07 18:46:28 -07:00
2016-10-11 15:06:33 -07:00
2016-10-07 09:46:56 +02:00
2016-10-07 21:23:40 -07:00
2016-10-15 10:03:15 -07:00
2016-10-07 21:34:49 -07:00
2016-10-07 21:23:40 -07:00
2016-11-01 06:04:06 +01:00
2016-10-15 09:26:12 -07:00
2016-10-10 14:04:16 -07:00
2016-10-07 16:46:30 -07:00
2016-10-11 00:01:20 +02:00
2016-10-06 17:13:54 -07:00
2016-10-11 18:12:22 -07:00
2016-10-04 12:06:26 -07:00
2016-10-07 21:23:40 -07:00
2016-10-11 23:17:08 +02:00
2016-10-11 18:12:22 -07:00
2016-10-07 11:58:38 -07:00
2016-09-27 12:35:49 +02:00
2016-10-04 10:56:14 -07:00
2016-10-11 23:37:26 +02:00
2016-10-07 18:46:30 -07:00
2016-10-05 14:50:51 -07:00
2016-10-14 13:43:08 -07:00
2016-10-14 13:19:30 -07:00
2016-10-11 12:52:41 -07:00
2016-10-15 09:26:12 -07:00
2016-10-07 14:42:05 -07:00
2016-10-06 17:36:53 -07:00
2016-09-27 12:33:47 +02:00
2016-10-11 15:06:33 -07:00
2016-10-14 15:17:12 -07:00
2016-10-07 21:23:40 -07:00
2016-10-07 08:35:35 -07:00
2016-10-10 20:16:43 -07:00
2016-10-03 20:17:35 -07:00
2016-10-11 17:34:10 -07:00
2016-10-14 13:43:08 -07:00
2016-10-07 16:46:30 -07:00
2016-10-11 15:06:32 -07:00
2016-10-07 21:23:40 -07:00
2016-10-15 09:26:12 -07:00
2016-10-10 20:16:43 -07:00
2016-10-13 17:08:58 -07:00
2016-10-07 21:23:40 -07:00
2016-10-07 21:23:40 -07:00
2016-10-13 16:52:39 -07:00
2016-10-06 18:21:15 -07:00
2016-10-11 15:06:32 -07:00
2016-10-13 10:20:06 -04:00
2016-10-11 15:06:32 -07:00
2016-10-12 11:05:23 -07:00
2016-10-06 17:03:49 -07:00
2016-10-14 13:13:44 -07:00
2016-10-07 09:28:53 -07:00
2016-10-14 11:37:50 -07:00
2016-10-14 11:07:42 -07:00
2016-10-11 15:06:33 -07:00
2016-09-27 12:43:34 +02:00
2016-10-11 17:34:10 -07:00
2016-10-12 11:05:23 -07:00
2016-10-11 15:06:33 -07:00
2016-10-15 09:26:12 -07:00
2016-09-29 13:36:38 -06:00
2016-10-15 09:26:12 -07:00
2016-09-27 12:43:35 +02:00
2016-10-13 16:44:20 -07:00
2016-10-06 11:19:10 -07:00
2016-09-23 13:00:04 +02:00