sdm660-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: I2da26e844cfc3dc86d7617e44906230ded760d7c
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
This commit is contained in:
millerliang 2018-12-17 15:47:24 +08:00 committed by Max Weffers
parent 5d621dbdfa
commit 98c0a30161
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE

View file

@ -69,10 +69,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
debug.sf.enable_hwc_vds=1 \
debug.sf.hw=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 \
persist.debug.wfd.enable=1 \
persist.hwc.enable_vds=1 \
ro.opengles.version=196610 \