mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Merge branches 'pm-cpufreq-sched' and 'intel_pstate'
* pm-cpufreq-sched: cpufreq: schedutil: Fix sugov_start() versus sugov_update_shared() race * intel_pstate: cpufreq: intel_pstate: Fix ratio setting for min_perf_pct
This commit is contained in:
commit
a252c258dd
2 changed files with 6 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ static int min_perf_pct_min(void)
|
|||
int turbo_pstate = cpu->pstate.turbo_pstate;
|
||||
|
||||
return turbo_pstate ?
|
||||
DIV_ROUND_UP(cpu->pstate.min_pstate * 100, turbo_pstate) : 0;
|
||||
(cpu->pstate.min_pstate * 100 / turbo_pstate) : 0;
|
||||
}
|
||||
|
||||
static s16 intel_pstate_get_epb(struct cpudata *cpu_data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue