sdm710-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

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Sundong Ahn 2018-12-17 16:40:39 +09:00 committed by GiaSen
parent b30dbe6d63
commit ac3a42d8e3
2 changed files with 6 additions and 4 deletions

View file

@ -64,9 +64,6 @@ BOARD_HAS_QCA_FM_SOC := "cherokee"
# Graphics # Graphics
TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x200000U | 0x2000U TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS := 0x200000U | 0x2000U
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
VSYNC_EVENT_PHASE_OFFSET_NS := 2000000
SF_VSYNC_EVENT_PHASE_OFFSET_NS := 6000000
# HIDL # HIDL
DEVICE_FRAMEWORK_MANIFEST_FILE := $(DEVICE_PATH)/framework_manifest.xml DEVICE_FRAMEWORK_MANIFEST_FILE := $(DEVICE_PATH)/framework_manifest.xml

View file

@ -22,8 +22,13 @@ PRODUCT_PRODUCT_PROPERTIES += \
persist.dbg.vt_avail_ovr=1 \ persist.dbg.vt_avail_ovr=1 \
persist.dbg.wfc_avail_ovr=1 persist.dbg.wfc_avail_ovr=1
# Surfaceflinger
PRODUCT_PRODUCT_PROPERTIES += \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3 \
ro.surface_flinger.vsync_event_phase_offset_ns=2000000 \
ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000
# WiFi Display # WiFi Display
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \
debug.sf.enable_hwc_vds=1 \ debug.sf.enable_hwc_vds=1 \
persist.vendor.radio.atfwd.start=false persist.vendor.radio.atfwd.start=false