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

Commit dd24e1bc authored by Rohit Gupta's avatar Rohit Gupta Committed by Razziell
Browse files

cpufreq_interactive: Allow hispeed_freq to work with prediction



hispeed_freq can still be useful with some versions of predictive
load based scaling. So, allow that.

Change-Id: I84ce1e2b6e7e839bd278aa3deaac21f4cd8503a8
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent 56a67ddd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -490,7 +490,7 @@ static void cpufreq_interactive_timer(unsigned long data)
	spin_lock_irqsave(&ppol->target_freq_lock, flags);
	spin_lock(&ppol->load_lock);

	skip_hispeed_logic = tunables->enable_prediction ? true :
	skip_hispeed_logic =
		tunables->ignore_hispeed_on_notif && ppol->notif_pending;
	skip_min_sample_time = tunables->fast_ramp_down && ppol->notif_pending;
	ppol->notif_pending = false;