summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-10-09 10:55:35 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-10-09 10:55:35 -0700
commitf6d6b028afe053b2a81eb15bc8f747db33fa8e65 (patch)
treed6db088690d4f5dcabe97abe10275a85d8131144
parent6d748f24ab21b130c721a0556d42c9e16e888fbd (diff)
parent791f9f944203f469ecf0d936852f325f007f957f (diff)
downloadandroid_hardware_qcom_sdm710_display-f6d6b028afe053b2a81eb15bc8f747db33fa8e65.tar.gz
android_hardware_qcom_sdm710_display-f6d6b028afe053b2a81eb15bc8f747db33fa8e65.tar.bz2
android_hardware_qcom_sdm710_display-f6d6b028afe053b2a81eb15bc8f747db33fa8e65.zip
Merge "sdm710: Add display make file."
-rw-r--r--config/sdm710.mk52
1 files changed, 52 insertions, 0 deletions
diff --git a/config/sdm710.mk b/config/sdm710.mk
new file mode 100644
index 00000000..52b8982a
--- /dev/null
+++ b/config/sdm710.mk
@@ -0,0 +1,52 @@
+#Display related packages and configuration
+
+PRODUCT_PACKAGES += \
+ android.hardware.graphics.composer@2.2-impl \
+ android.hardware.graphics.composer@2.2-service \
+ android.hardware.graphics.mapper@2.0-impl-qti-display \
+ vendor.qti.hardware.display.allocator@1.0-service \
+ android.hardware.memtrack@1.0-impl \
+ android.hardware.memtrack@1.0-service \
+ android.hardware.light@2.0-impl \
+ android.hardware.light@2.0-service \
+ modetest \
+ gralloc.sdm710 \
+ lights.sdm710 \
+ hwcomposer.sdm710 \
+ memtrack.sdm710 \
+ libqdutils \
+ libqdMetaData \
+ libqdMetaData.system
+
+#QDCM calibration xml file for 2k panel
+PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_nt35597_cmd_mode_dsi_truly_panel_with_DSC.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt35597_cmd_mode_dsi_truly_panel_with_DSC.xml
+#QDCM calibration xml file for 4k panel
+PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_Sharp_4k_cmd_mode_dsc_dsi_panel.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_4k_cmd_mode_dsc_dsi_panel.xml
+
+TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
+MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
+NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
+#Enable Charging Icon
+TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
+TARGET_USES_GRALLOC1 := true
+TARGET_USES_HWC2 := true
+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
+
+PRODUCT_PROPERTY_OVERRIDES += \
+ persist.demo.hdmirotationlock=false \
+ ro.vendor.display.cabl=2 \
+ debug.sf.latch_unsignaled=1 \
+ vendor.display.enable_default_color_mode=1 \
+
+# This matrix should be in column major order, per SurfaceFlinger requirement
+# 1.16868 -0.16868 0.00000
+# -0.03155 1.03155 0.00000
+# -0.01473 -0.05899 1.07372
+PRODUCT_PROPERTY_OVERRIDES += \
+ vendor.display.dataspace_saturation_matrix=1.16868,-0.03155,-0.01473,-0.16868,1.03155,-0.05899,0.00000,0.00000,1.07372
+