From 148b8cf6ccc5f82ae88d7d5d5c1ef02f89c5659e Mon Sep 17 00:00:00 2001 From: Sundong Ahn Date: Mon, 17 Dec 2018 16:40:39 +0900 Subject: msm8996-common: Add system properties for surfaceflinger The configstore will be not used in surfaceflinger. So surfaceflinger will use the system properties instead of configstore. For this, the system properties are added. Bug: 112386364 Test: m -j && boot test Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014 --- BoardConfigCommon.mk | 3 --- vendor_prop.mk | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index a26280b..4715672 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -131,9 +131,6 @@ MAX_EGL_CACHE_SIZE := 2048*1024 OVERRIDE_RS_DRIVER := libRSDriver_adreno.so -VSYNC_EVENT_PHASE_OFFSET_NS := 2000000 -SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000 - # DRM TARGET_ENABLE_MEDIADRM_64 := true diff --git a/vendor_prop.mk b/vendor_prop.mk index 0787dec..2a6a363 100644 --- a/vendor_prop.mk +++ b/vendor_prop.mk @@ -174,6 +174,10 @@ PRODUCT_PROPERTY_OVERRIDES += \ debug.sf.early_gl_phase_offset_ns=3000000 \ debug.sf.early_gl_app_phase_offset_ns=15000000 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \ + ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 + # TimeService PRODUCT_PROPERTY_OVERRIDES += \ persist.timed.enable=true \ -- cgit v1.2.3