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

Skip to content
Commit c4cdd378 authored by Kevin DuBois's avatar Kevin DuBois
Browse files

SF: VSyncReactor ensure period change confirmation

(Code being corrected is flagged off, no production problems)

When a period change is happening, system turns on hwvsync and uses
the first vsync signal timed at the new vsync rate as confirmation
that the rate has indeed changed (and then things like modifying the
offsets occurs).

If a presentation fence was added to the VSyncReactor system before
the first hwvsync sample arrived, this would result in the period never
being confirmed, and would result in incorrect offsets and period
estimations, resulting in bad jank scores.

Test: 3 unit tests
Test: uibench run
Fixes: 147321414

Change-Id: Idbc87529e60333df5180de585dbba3525396562b
parent 842e9df6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment