Adithya R 5c358b97e8 sm6150-common: properties: Defer refresh rate changes when screen is off
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>
2025-05-09 13:48:10 +00:00
2025-05-09 12:24:43 +00:00

Copyright (C) 2020 The LineageOS Project Copyright (C) 2020-2021 Paranoid Android.

Common device tree for Xiaomi SM6150 based devices

Description
No description provided
Readme 5.1 MiB
Languages
C++ 82.9%
C 13.4%
Makefile 1.7%
Shell 1%
M4 0.6%
Other 0.4%