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

Commit 00948707 authored by Matt Buckley's avatar Matt Buckley
Browse files

Disable early hint in SurfaceFlinger adpf cpu hints by default

Early hint for SurfaceFlinger currently does not provide enough value
and needs more tweaking to be viable, so this patch disables it
by default for the feature rollout.

Bug: b/239730433
Test: manual
Change-Id: I48387f5a14b242e8b9fb5c7dfbc3d041c303eb71
(cherry picked from commit 58a36454)
parent e23a168d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -448,7 +448,7 @@ SurfaceFlinger::SurfaceFlinger(Factory& factory) : SurfaceFlinger(factory, SkipI
    // Power hint session mode, representing which hint(s) to send: early, late, or both)
    mPowerHintSessionMode =
            {.late = base::GetBoolProperty("debug.sf.send_late_power_session_hint"s, true),
             .early = base::GetBoolProperty("debug.sf.send_early_power_session_hint"s, true)};
             .early = base::GetBoolProperty("debug.sf.send_early_power_session_hint"s, false)};
}

LatchUnsignaledConfig SurfaceFlinger::getLatchUnsignaledConfig() {