1#Display related packages and configuration 2 3PRODUCT_PACKAGES += \ 4 android.hardware.graphics.composer@2.2-impl \ 5 android.hardware.graphics.composer@2.2-service \ 6 android.hardware.graphics.mapper@2.0-impl-qti-display \ 7 vendor.qti.hardware.display.allocator@1.0-service \ 8 android.hardware.memtrack@1.0-impl \ 9 android.hardware.memtrack@1.0-service \ 10 android.hardware.light@2.0-impl \ 11 android.hardware.light@2.0-service \ 12 modetest \ 13 gralloc.sdm710 \ 14 lights.sdm710 \ 15 hwcomposer.sdm710 \ 16 memtrack.sdm710 \ 17 libqdutils \ 18 libqdMetaData \ 19 libqdMetaData.system 20 21#QDCM calibration xml file for video panel 22PRODUCT_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_Dual_nt35597_video_mode_dsi_truly_panel_without_DSC.xml 23 24#QDCM calibration xml file for cmd panel 25PRODUCT_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_Dual_nt35597_cmd_mode_dsi_truly_panel_without_DSC.xml 26PRODUCT_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 27 28TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true 29MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 30NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 31#Enable Charging Icon 32TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 33TARGET_USES_GRALLOC1 := true 34TARGET_USES_HWC2 := true 35TARGET_USES_QCOM_DISPLAY_BSP := true 36TARGET_USES_COLOR_METADATA := true 37TARGET_USES_DRM_PP := true 38TARGET_HAS_WIDE_COLOR_DISPLAY := true 39TARGET_USES_DISPLAY_RENDER_INTENTS := true 40TARGET_HAS_HDR_DISPLAY := true 41ifneq (,$(filter sdm670, $(PRODUCT_PLATFORM))) 42 TARGET_HAS_HDR_DISPLAY := false 43endif 44 45PRODUCT_PROPERTY_OVERRIDES += \ 46 persist.demo.hdmirotationlock=false \ 47 persist.sys.sf.color_saturation=1.0 \ 48 ro.vendor.display.cabl=2 \ 49 debug.sf.latch_unsignaled=1 \ 50 vendor.display.enable_default_color_mode=1 \ 51 52# This matrix should be in column major order, per SurfaceFlinger requirement 53# 1.16868 -0.16868 0.00000 54# -0.03155 1.03155 0.00000 55# -0.01473 -0.05899 1.07372 56PRODUCT_PROPERTY_OVERRIDES += \ 57 vendor.display.dataspace_saturation_matrix=1.16868,-0.03155,-0.01473,-0.16868,1.03155,-0.05899,0.00000,0.00000,1.07372 58 59