1#Display related packages and configuration 2 3PRODUCT_PACKAGES += \ 4 android.hardware.graphics.composer@2.3-impl \ 5 android.hardware.graphics.composer@2.3-service \ 6 android.hardware.graphics.mapper@2.0-impl-qti-display \ 7 vendor.qti.hardware.display.allocator-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 gralloc.sm6150 \ 13 lights.sm6150 \ 14 hwcomposer.sm6150 \ 15 memtrack.sm6150 \ 16 libqdutils \ 17 libqdMetaData \ 18 libqdMetaData.system \ 19 modetest 20 21#QDCM calibration xml file base on Talos panel type hx83112a 22PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_talos_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_hx83112a_video_mode_dsi_truly_panel.xml 23#QDCM calibration xml file base on Talos panel type td4328 24PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_talos_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4328_cmd_mode_dsi_truly_panel.xml 25PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_talos_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4328_video_mode_dsi_truly_panel.xml 26 27#QDCM calibration xml file base on Moorea panel type fhd+ 28PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sw43404_amoled_boe_fhd+_panel_with_DSC.xml 29#QDCM calibration xml file base on Moorea panel type sw43404 30PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml 31PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sw43404_amoled_video_mode_dsi_boe_panel_with_DSC.xml 32#QDCM calibration xml file base on Moorea panel type wqhd 33PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Dual_Sharp_WQHD_cmd_mode_dsi_panel.xml 34PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Dual_Sharp_wqhd_video_mode_dsi_panel.xml 35 36#QDCM calibration xml file for secondary panel nt35695b 37PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt35695b_truly_fhd_command_mode_dsi_panel.xml 38PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt35695b_truly_fhd_video_mode_dsi_panel.xml 39 40#Enable Charging Icon 41TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 42 43TARGET_USES_GRALLOC1 := true 44TARGET_USES_DRM_PP := true 45TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true 46MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 47NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 48TARGET_USES_HWC2 := true 49TARGET_USES_QCOM_DISPLAY_BSP := true 50TARGET_USES_COLOR_METADATA := true 51TARGET_USES_DISPLAY_RENDER_INTENTS := true 52TARGET_USES_QTI_MAPPER_2_0 := true 53TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true 54 55PRODUCT_PROPERTY_OVERRIDES += \ 56 persist.demo.hdmirotationlock=false \ 57 persist.sys.sf.color_saturation=1.0 \ 58 debug.sf.hw=0 \ 59 debug.egl.hw=0 \ 60 debug.sf.latch_unsignaled=1 \ 61 debug.mdpcomp.logs=0 \ 62 vendor.gralloc.disable_ubwc=0 \ 63 vendor.display.disable_scaler=0 \ 64 vendor.display.disable_inline_rotator=1 \ 65 vendor.display.disable_decimation=1 \ 66 vendor.display.disable_excl_rect_partial_fb=1 \ 67 vendor.display.enable_null_display=0 \ 68 vendor.display.disable_excl_rect=0 \ 69 vendor.display.comp_mask=0 \ 70 vendor.display.enable_default_color_mode=1 \ 71 vendor.display.enable_optimize_refresh=1 72 73ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 74# Recovery is enabled, logging is enabled 75PRODUCT_PROPERTY_OVERRIDES += \ 76 vendor.display.disable_hw_recovery_dump=0 77else 78# Recovery is enabled, logging is disabled 79PRODUCT_PROPERTY_OVERRIDES += \ 80 vendor.display.disable_hw_recovery_dump=1 81endif 82 83# Properties using default value: 84# vendor.display.disable_hw_recovery=0 85 86# This matrix should be in column major order, per SurfaceFlinger requirement 87# 1.0 0.0 0.0 88# 0.0 1.0 0.0 89# 0.0 0.0 1.0 90PRODUCT_PROPERTY_OVERRIDES += \ 91 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 92