mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[CPUFREQ] conservative: remove 10x from def_sampling_rate
AMD users get particular hit by this issue (bug 8081) as it caps at typically 90 seconds as the minimum period for a frequency change. Harsh eh? Years ago I borked this buy puting the 10x in the wrong place...I fix that by removing it altogether. Signed-off-by: Alexander Clouter <[email protected]> Signed-off-by: Dave Jones <[email protected]>
This commit is contained in:
parent
8e677ce83b
commit
a75603a084
1 changed files with 1 additions and 1 deletions
|
|
@ -599,7 +599,7 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
|
|||
latency = 1;
|
||||
|
||||
def_sampling_rate =
|
||||
max(10 * latency * LATENCY_MULTIPLIER,
|
||||
max(latency * LATENCY_MULTIPLIER,
|
||||
MIN_STAT_SAMPLING_RATE);
|
||||
|
||||
dbs_tuners_ins.sampling_rate = def_sampling_rate;
|
||||
|
|
|
|||
Loading…
Reference in a new issue