diff options
author | Sundong Ahn <sundongahn@google.com> | 2018-12-17 16:40:39 +0900 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-04-30 00:49:34 +0300 |
commit | 5285251b311fc879409981ec15c77670e43f61fd (patch) | |
tree | bbe1e090dfa40e7f80a35c126145d4b4aa6ace1f | |
parent | 16fbc7472ca33dc26b29b56caeb49723aa54d69b (diff) |
sdm660-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.mk | 3 | ||||
-rw-r--r-- | properties.mk | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index ff016e3..f0b2195 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -119,9 +119,6 @@ MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 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/properties.mk b/properties.mk index d455a79..198b94d 100644 --- a/properties.mk +++ b/properties.mk @@ -112,6 +112,8 @@ PRODUCT_PROPERTY_OVERRIDES += \ debug.sf.latch_unsignaled=1 \ ro.opengles.version=196610 \ ro.surface_flinger.protected_contents=true \ + ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \ + ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000 \ ro.vendor.display.cabl=0 \ vendor.display.disable_skip_validate=1 \ vendor.display.enable_default_color_mode=1 \ |