mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
schedutil: Set default rate limit to 2000 us
This is empirically observed to yield good performance with reduced power consumption. With "cpufreq: schedutil: Ignore rate limit when scaling up with FIE present", this only affects frequency reductions when FIE is present, since there is no rate limit applied when scaling up. Change-Id: I1bff1f007f06e67b672877107c9685b6fb83647a Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
f1c3e01e39
commit
22ba4c6d3a
@ -838,7 +838,7 @@ static int sugov_init(struct cpufreq_policy *policy)
|
||||
goto stop_kthread;
|
||||
}
|
||||
|
||||
tunables->rate_limit_us = cpufreq_policy_transition_delay_us(policy);
|
||||
tunables->rate_limit_us = 2000;
|
||||
|
||||
policy->governor_data = sg_policy;
|
||||
sg_policy->tunables = tunables;
|
||||
|
Loading…
x
Reference in New Issue
Block a user