From 7fc7d915294263485529e95b53491fb95eb43769 Mon Sep 17 00:00:00 2001 From: Ady Abraham Date: Tue, 10 Dec 2019 18:35:23 -0800 Subject: [PATCH] sm7250-common: use phase offsets as duration. adopt the new way of specifying phase offsets to SurfaceFlinger. More info in ag/9856326 Bug: 145561086 Bug: 141329414 Test: jank tests Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Change-Id: Ie50eb69009ac54345d0174f5429bc402573ec328 Signed-off-by: Joey Huab --- properties.mk | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/properties.mk b/properties.mk index 0b485aa..0b12d46 100644 --- a/properties.mk +++ b/properties.mk @@ -246,12 +246,14 @@ persist.backup.ntpServer=0.pool.ntp.org PRODUCT_VENDOR_PROPERTIES += \ debug.egl.hw=0 \ debug.mdpcomp.logs=0 \ -debug.sf.enable_advanced_sf_phase_offset=1 \ debug.sf.enable_gl_backpressure=1 \ -debug.sf.high_fps_early_gl_phase_offset_ns=-4000000 \ -debug.sf.high_fps_early_phase_offset_ns=-4000000 \ -debug.sf.high_fps_late_app_phase_offset_ns=1000000 \ -debug.sf.high_fps_late_sf_phase_offset_ns=-4000000 \ +debug.sf.use_phase_offsets_as_durations=1 \ +debug.sf.late.sf.duration=10500000 \ +debug.sf.late.app.duration=20500000 \ +debug.sf.early.sf.duration=16000000 \ +debug.sf.early.app.duration=16500000 \ +debug.sf.earlyGl.sf.duration=13500000 \ +debug.sf.earlyGl.app.duration=21000000 \ debug.sf.hw=0 \ debug.sf.latch_unsignaled=1 \ persist.demo.hdmirotationlock=false \