commit | defd40fdb3453da46f64d274c9b7abda1643a953 | [log] [tgz] |
---|---|---|
author | Alex Sarraf <asarraf@codeaurora.org> | Mon Sep 20 15:47:42 2021 -0700 |
committer | Alex Sarraf <asarraf@codeaurora.org> | Mon Oct 04 17:20:44 2021 +0000 |
tree | e7aec484abc79ee378b54e9b5b3f946df23ee23f | |
parent | 3075e0b8b8f44f6d7442abc37374bcf551f89369 [diff] |
SF: Fix getting vsync period in SF and Scheduler SF and Scheduler rely on primary refresh rate configuration from init. If non primary display becomes vsync source, make call to getVsyncPeriodFromHWC to get correct vsync source and to get the correct vsync period. In addition, cache the vsync period in DisplayDevice until there is a mode switch or power mode change. CRs-Fixed: 3004697 Change-Id: I4810b4df8cede54c80ea3b03a32e294eecf4b07c