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

Commit 26d15e96 authored by BeYkeRYkt's avatar BeYkeRYkt Committed by ssizon
Browse files

power: use boost when flinging detected

* Remove touchboost for msm8937/msm8953/msm8996, since 'SCROLL_VERTICAL'
  switches 'sched_boost' to '1' forcing all tasks to switch to a big cluster,
  which can affect the power consumption and heat dissipation in some
  situations on some devices.

Change-Id: I3dfcad76e9ec3d89b46b106405291da8020b3176
parent 2fb1c688
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -329,7 +329,9 @@ static int process_interaction_hint(void *data)
    s_previous_boost_timespec = cur_boost_timespec;
    s_previous_duration = duration;

    if (duration > kMinInteractiveDuration) {
        perf_hint_enable_with_type(VENDOR_HINT_SCROLL_BOOST, duration, SCROLL_VERTICAL);
    }

    return HINT_HANDLED;
}