diff --git a/properties.mk b/properties.mk index dc52229a..687cd0af 100644 --- a/properties.mk +++ b/properties.mk @@ -158,6 +158,14 @@ PRODUCT_PROPERTY_OVERRIDES += \ video.disable.ubwc=1 \ vendor.display.enable_default_color_mode=0 +# The default sf phase offset is set to 6ms, to avoid it be included into next +# vsync threshold, set high fps early sf and next vsync threshold phase offset +# to 6.1ms, which is bigger than all sf phase offsets in normal frame rate. +PRODUCT_PROPERTY_OVERRIDES += \ + debug.sf.high_fps_early_phase_offset_ns=6100000 \ + debug.sf.high_fps_early_gl_phase_offset_ns=9000000 \ + debug.sf.phase_offset_threshold_for_next_vsync_ns=6100000 + # enable FIFO scheduling for UI and Render threads by default PRODUCT_PROPERTY_OVERRIDES += \ sys.use_fifo_ui=1