mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
5c358b97e8c39580f1559870faf6c65aafe5ebf1
Some devices with video mode panels experience refresh rate mismatches when the screen is turned off. Specifically: - The scheduler sets the refresh rate to 120 Hz after the screen turns off at 60 Hz (VRR idle). - However, the HWC ignores this change, resulting in SurfaceFlinger (SF) incorrectly assuming the device is at 120 Hz when the display is turned back on. - This causes a mismatch, as HWC continues rendering at 60 Hz, leading to inconsistencies. To enable this behavior, set the following property: - `debug.sf.defer_refresh_rate_when_off=1` Change-Id: I46fd9e6b983138c1f625d52a65451eb04ce42820 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Signed-off-by: therealmharc <therealmharc@gmail.com>
Copyright (C) 2020 The LineageOS Project Copyright (C) 2020-2021 Paranoid Android.
Common device tree for Xiaomi SM6150 based devices
Description
Languages
C++
82.9%
C
13.4%
Makefile
1.7%
Shell
1%
M4
0.6%
Other
0.4%