sdm710-common: Refined early SF phase offsets

Sometimes SW_VSNC of DispSync comes 1ms earlier than signal_retire_fence(or HW_VSYNC)
It means VSYNC-sf only 5ms behind signal_retire_fence.
And VSYNC-sf will be 5.5ms earlier when applying early_sf_phase.
(the phase-sf changes from 6ms to 0.5ms)

Therefore, VSYNC-sf comes 0.5ms earlier than signal_retire_fence when
applying early_sf_phase for transaction and cause frame missed.

Add more 1ms to early_sf_phase then it will come 0.5 later than signal_retire_fence
in this case.

Bug: 118606025
Test: Open/close apps, observe no jank
Test: -Launch app, stay the same picture on screen at least 30s
      -Tap home key, observe no jank when doing app animation
Change-Id: Iec83aef719b830aed612b47bbda910508406d196
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
millerliang 2018-12-17 15:47:24 +08:00 committed by GiaSen
parent bb0e57be4a
commit c7d03a2577

View file

@ -8,10 +8,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
debug.sf.enable_hwc_vds=1 \
debug.sf.enable_gl_backpressure=1 \
debug.sf.latch_unsignaled=1 \
debug.sf.early_app_phase_offset_ns=500000 \
debug.sf.early_app_phase_offset_ns=1500000 \
debug.sf.early_gl_phase_offset_ns=3000000 \
debug.sf.early_gl_app_phase_offset_ns=15000000 \
debug.sf.early_phase_offset_ns=500000
debug.sf.early_phase_offset_ns=1500000
# Media
PRODUCT_PRODUCT_PROPERTIES += \