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

Commit 5a756736 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: Calculate average capacity before the tracepoint"

parents ac2c7052 6dbf3c57
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -389,13 +389,13 @@ static void sugov_update_single(struct update_util_data *hook, u64 time,
		sg_cpu->max = max;
		sg_cpu->flags = flags;

		sugov_calc_avg_cap(sg_policy, sg_cpu->walt_load.ws,
				   sg_policy->policy->cur);
		trace_sugov_util_update(sg_cpu->cpu, sg_cpu->util,
				sg_policy->avg_cap, max, sg_cpu->walt_load.nl,
				sg_cpu->walt_load.pl, flags);

		sugov_iowait_boost(sg_cpu, &util, &max);
		sugov_calc_avg_cap(sg_policy, sg_cpu->walt_load.ws,
				   sg_policy->policy->cur);
		sugov_walt_adjust(sg_cpu, &util, &max);
		next_f = get_next_freq(sg_policy, util, max);
		/*