sdm660: Enable high fps sf early phase offsets

Change sf early phase offset for 90hz to be early=6.1ms,
early_gl=9ms to give the same ~16ms and ~13ms they had on 60hz.

Bug: 130191039
Test: launch app and observe systraces, frame drop 1.83% -> 0.37%
Test: scrolling on photo with force GL compos and observe systraces,
      frame drop 1.61% -> 0.84%

Change-Id: Icbd734d9fa217333741bd625e715eae973a3e368
This commit is contained in:
Midas Chien 2019-05-03 17:52:04 +08:00 committed by Max Weffers
parent 28bcd270e4
commit 014f8a2f4b
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -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