summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel.lh Huang <samuellhhuang@google.com>2019-01-21 11:56:58 +0800
committerSamuel.lh Huang <samuellhhuang@google.com>2019-02-26 06:04:15 +0000
commit7cf8af862fbc108985d1aa71b8ca1721b7313ab5 (patch)
tree2636e1a959c01ca595e44bd7751899ed433a9594
parent082d87982c81239efe42b6c81424baf0e0554143 (diff)
downloadandroid_hardware_qcom_sdm845_display-7cf8af862fbc108985d1aa71b8ca1721b7313ab5.tar.gz
android_hardware_qcom_sdm845_display-7cf8af862fbc108985d1aa71b8ca1721b7313ab5.tar.bz2
android_hardware_qcom_sdm845_display-7cf8af862fbc108985d1aa71b8ca1721b7313ab5.zip
sdm710: Configure HDR display option
sdm670 doesn't support TARGET_HAS_HDR_DISPLAY. Bug: 122707384 Test: CTS dEQP and VideoTest tested. Change-Id: I143d766b40f03bf0f5c1c02d2d67c82bc555a92b
-rw-r--r--config/sdm710.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/sdm710.mk b/config/sdm710.mk
index 54eba369..4e5c11b3 100644
--- a/config/sdm710.mk
+++ b/config/sdm710.mk
@@ -36,8 +36,11 @@ TARGET_USES_QCOM_DISPLAY_BSP := true
TARGET_USES_COLOR_METADATA := true
TARGET_USES_DRM_PP := true
TARGET_HAS_WIDE_COLOR_DISPLAY := true
-TARGET_HAS_HDR_DISPLAY := true
TARGET_USES_DISPLAY_RENDER_INTENTS := true
+TARGET_HAS_HDR_DISPLAY := true
+ifneq (,$(filter sdm670, $(PRODUCT_PLATFORM)))
+ TARGET_HAS_HDR_DISPLAY := false
+endif
PRODUCT_PROPERTY_OVERRIDES += \
persist.demo.hdmirotationlock=false \