Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c6e59ad authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpufreq: schedutil: Avoid processing certain notifications"

parents c06f3cd5 a07c435b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -319,6 +319,9 @@ static void sugov_update_single(struct update_util_data *hook, u64 time,
	unsigned int next_f;
	bool busy;

	if (!sg_policy->tunables->pl && flags & SCHED_CPUFREQ_PL)
		return;

	sugov_set_iowait_boost(sg_cpu, time, flags);
	sg_cpu->last_update = time;

@@ -397,6 +400,9 @@ static void sugov_update_shared(struct update_util_data *hook, u64 time,
	unsigned long util, max, hs_util;
	unsigned int next_f;

	if (!sg_policy->tunables->pl && flags & SCHED_CPUFREQ_PL)
		return;

	sugov_get_util(&util, &max, sg_cpu->cpu);

	flags &= ~SCHED_CPUFREQ_RT_DL;