mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 11:11:26 +02:00
sched/walt: Ensure capacities are updated when policy max changes
If the cluster fmax is changed, ensure the cpu capacity is updated instantly. Change-Id: I1328c8b5e74e176b1e55091314cb65a4ef5f783d Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
This commit is contained in:
parent
1d077fe1d4
commit
aca97f0a06
|
|
@ -4046,6 +4046,7 @@ static void walt_cpu_frequency_limits(void *unused, struct cpufreq_policy *polic
|
|||
return;
|
||||
|
||||
cpu_cluster(policy->cpu)->max_freq = policy->max;
|
||||
update_cpu_capacity_helper(policy->cpu);
|
||||
}
|
||||
|
||||
static void android_rvh_sched_cpu_starting(void *unused, int cpu)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user