diff options
| author | 2023-03-14 12:04:58 -0400 | |
|---|---|---|
| committer | 2023-05-09 16:49:08 -0400 | |
| commit | 008bec0bd04fb1df0273545c5958c4e596d64eb0 (patch) | |
| tree | edec562218bee6444fda6d401bf7ac0a62849398 /services/surfaceflinger/SurfaceFlinger.cpp | |
| parent | 0e4dbdb5d81b708fa7633c1140760e2989f3ef00 (diff) | |
SF: Disable hardware VSYNC for any new display
Remove the special case for the primary display.
Bug: 271431077
Bug: 241286146
Bug: 241285191
Test: SchedulerTest.registerDisplay
Change-Id: I5c85852208972da7a82998f283283004ed15386b
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index a5f4286a96..b258e043af 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -3869,8 +3869,6 @@ void SurfaceFlinger::initScheduler(const sp<const DisplayDevice>& display) { static_cast<ISchedulerCallback&>(*this), features, std::move(modulatorPtr)); mScheduler->registerDisplay(display->getPhysicalId(), display->holdRefreshRateSelector()); - - setVsyncEnabled(display->getPhysicalId(), false); mScheduler->startTimers(); const auto configs = mVsyncConfiguration->getCurrentConfigs(); |