SF: enable VSyncReactor
Enable VSyncReactor timing system. This is a vsync timing system
intended to work with VRR, multiple fixed rates, and typical fixed rate
devices.
System can be disabled with
setprop debug.sf.vsync_reactor 0; stop; start
Test: go/dispsync2-checks
Fixes: 140302863
Change-Id: I46bb8d55604136cc0eb8b249e465d6ae5470c3f3
diff --git a/services/surfaceflinger/Scheduler/Scheduler.cpp b/services/surfaceflinger/Scheduler/Scheduler.cpp
index 7de35af..5868463 100644
--- a/services/surfaceflinger/Scheduler/Scheduler.cpp
+++ b/services/surfaceflinger/Scheduler/Scheduler.cpp
@@ -64,7 +64,7 @@
std::unique_ptr<DispSync> createDispSync() {
// TODO (140302863) remove this and use the vsync_reactor system.
- if (property_get_bool("debug.sf.vsync_reactor", false)) {
+ if (property_get_bool("debug.sf.vsync_reactor", true)) {
// TODO (144707443) tune Predictor tunables.
static constexpr int default_rate = 60;
static constexpr auto initial_period =