mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-02 03:03:00 +09:00
ANDROID: sched/core: Fix PELT jump to max OPP upon util increase
Change-Id: Ic80b588ec466ef707f658dcea039fd0d6b384b63 Signed-off-by: Andres Oportus <andresoportus@google.com> Signed-off-by: Quentin Perret <quentin.perret@arm.com>
This commit is contained in:
@@ -3158,9 +3158,10 @@ unsigned long sum_capacity_reqs(unsigned long cfs_cap,
|
||||
return total += scr->dl;
|
||||
}
|
||||
|
||||
unsigned long boosted_cpu_util(int cpu);
|
||||
static void sched_freq_tick_pelt(int cpu)
|
||||
{
|
||||
unsigned long cpu_utilization = capacity_max;
|
||||
unsigned long cpu_utilization = boosted_cpu_util(cpu);
|
||||
unsigned long capacity_curr = capacity_curr_of(cpu);
|
||||
struct sched_capacity_reqs *scr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user