land: display: Move panel calibration data to device tree

The calibration XML files are invalid due to incorrect XML syntax.
Move the files to the device tree and fix the syntax.

Change-Id: I96d0b2126fff64f2802121eb97dc70eb4bd42a91
This commit is contained in:
Zhao Wei Liew 2016-10-30 21:34:30 +08:00
parent cbdedc2497
commit 2a092ff6a2
6 changed files with 247 additions and 5 deletions

22
display/Android.mk Normal file
View file

@ -0,0 +1,22 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := qdcm_calib_data_hx8394F_HD720p_video_BOE.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := qdcm_calib_data_hx8394F_HD720p_video_BOE.xml
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := qdcm_calib_data_ili9881c_HD720p_video_Tianma.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := qdcm_calib_data_ili9881c_HD720p_video_Tianma.xml
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := qdcm_calib_data_nt35521s_HD720p_video_EBBG.xml
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := qdcm_calib_data_nt35521s_HD720p_video_EBBG.xml
include $(BUILD_PREBUILT)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -34,6 +34,12 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.hwui.texture_cache_flushrate=0.4 \
ro.hwui.texture_cache_size=72
# Panel calibration
PRODUCT_PACKAGES += \
qdcm_calib_data_hx8394F_HD720p_video_BOE.xml \
qdcm_calib_data_ili9881c_HD720p_video_Tianma.xml \
qdcm_calib_data_nt35521s_HD720p_video_EBBG.xml
# Properties
PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196609 \

View file

@ -497,11 +497,6 @@ vendor/lib64/libsecureui.so
vendor/lib64/libsecureui_svcsock.so
vendor/lib64/libssd.so
# Display calibration
etc/qdcm_calib_data_hx8394F_HD720p_video_BOE.xml
etc/qdcm_calib_data_ili9881c_HD720p_video_Tianma.xml
etc/qdcm_calib_data_nt35521s_HD720p_video_EBBG.xml
# Gatekeeper
vendor/lib/hw/gatekeeper.msm8937.so
vendor/lib64/hw/gatekeeper.msm8937.so