From c7d03a2577819df8b91a073c679230f1a11a22f8 Mon Sep 17 00:00:00 2001 From: millerliang Date: Mon, 17 Dec 2018 15:47:24 +0800 Subject: [PATCH] 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 --- product_prop.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product_prop.mk b/product_prop.mk index c61adf9..a47f12f 100644 --- a/product_prop.mk +++ b/product_prop.mk @@ -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 += \