sm7250-common: Enable color mode & set display calibration on color mode settings

* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

 * Set color mode to Natural by default

 * Adjust display composition color spaces

Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23
Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
Jake Weinstein
2021-07-10 14:52:09 +08:00
committed by KakatkarAkshay
parent 830a408488
commit 84e9206b3a
6 changed files with 62 additions and 6 deletions

View File

@@ -120,6 +120,14 @@ LOCAL_SRC_FILES := etc/init.oem.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.color.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.color.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.qcom.factory.rc
LOCAL_MODULE_TAGS := optional