mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
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>
This commit is contained in:
@@ -148,6 +148,7 @@ debug.sf.early.sf.duration=21000000
|
|||||||
debug.sf.early.app.duration=16500000
|
debug.sf.early.app.duration=16500000
|
||||||
debug.sf.earlyGl.sf.duration=13500000
|
debug.sf.earlyGl.sf.duration=13500000
|
||||||
debug.sf.earlyGl.app.duration=21000000
|
debug.sf.earlyGl.app.duration=21000000
|
||||||
|
debug.sf.defer_refresh_rate_when_off=1
|
||||||
debug.sf.enable_hwc_vds=1
|
debug.sf.enable_hwc_vds=1
|
||||||
debug.sf.hw=0
|
debug.sf.hw=0
|
||||||
debug.sf.predict_hwc_composition_strategy=0
|
debug.sf.predict_hwc_composition_strategy=0
|
||||||
|
|||||||
Reference in New Issue
Block a user