aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSundong Ahn <sundongahn@google.com>2018-12-17 16:40:39 +0900
committerDavide Garberi <dade.garberi@gmail.com>2020-01-25 14:48:43 +0100
commit148b8cf6ccc5f82ae88d7d5d5c1ef02f89c5659e (patch)
tree46bec900368e67f424e3bea0ffb385ea71fa0caf
parent504baeed4c68f3549f36549a4b4c518acd65e2f4 (diff)
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
-rw-r--r--BoardConfigCommon.mk3
-rw-r--r--vendor_prop.mk4
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 \