mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 11:11:26 +02:00
sched/walt: Ensure driving cpu is used for region3
Currently, wg_cpu is used, however, this is incorrect, as the driving CPU should be used when evaluating region3 conditions. Change-Id: I4f86ec6021b718e35d84f589dc9be68a53ab9523 Signed-off-by: Shaleen Agrawal <quic_shalagra@quicinc.com>
This commit is contained in:
parent
c42b241161
commit
f8314d13b2
|
|
@ -247,7 +247,7 @@ static unsigned int get_next_freq(struct waltgov_policy *wg_policy,
|
|||
unsigned int freq, raw_freq, final_freq;
|
||||
struct waltgov_cpu *wg_driv_cpu = &per_cpu(waltgov_cpu, wg_policy->driving_cpu);
|
||||
|
||||
raw_freq = walt_map_util_freq(util, wg_policy, max, wg_cpu->cpu);
|
||||
raw_freq = walt_map_util_freq(util, wg_policy, max, wg_driv_cpu->cpu);
|
||||
freq = raw_freq;
|
||||
|
||||
if (wg_policy->tunables->adaptive_high_freq) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user