| # Display product definitions |
| PRODUCT_PACKAGES += \ |
| android.hardware.graphics.composer@2.4-impl \ |
| android.hardware.graphics.composer@2.4-service \ |
| android.hardware.graphics.mapper@3.0-impl-qti-display \ |
| android.hardware.graphics.mapper@4.0-impl-qti-display \ |
| vendor.qti.hardware.display.allocator-service \ |
| android.hardware.memtrack@1.0-impl \ |
| android.hardware.memtrack@1.0-service \ |
| gralloc.$(TARGET_BOARD_PLATFORM) \ |
| lights.$(TARGET_BOARD_PLATFORM) \ |
| hwcomposer.$(TARGET_BOARD_PLATFORM) \ |
| memtrack.$(TARGET_BOARD_PLATFORM) \ |
| libqdMetaData.vendor \ |
| libdisplayconfig.vendor \ |
| libdisplayconfig.qti.vendor \ |
| vendor.display.config@1.0.vendor \ |
| vendor.display.config@1.1.vendor \ |
| vendor.display.config@1.2.vendor \ |
| vendor.display.config@1.3.vendor \ |
| vendor.display.config@1.4.vendor \ |
| vendor.display.config@1.5.vendor \ |
| vendor.display.config@1.6.vendor \ |
| vendor.display.config@1.7.vendor \ |
| vendor.display.config@1.8.vendor \ |
| vendor.display.config@1.9.vendor \ |
| vendor.display.config@1.10.vendor \ |
| vendor.display.config@2.0.vendor \ |
| vendor.qti.hardware.display.mapper@3.0 \ |
| vendor.qti.hardware.display.mapper@4.0.vendor \ |
| modetest |
| |
| #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 |
| 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_video_mode_dsi_truly_panel_with_DSC.xml |
| |
| #QDCM calibration xml file for 2k dual dsi 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_Dual_nt35597_cmd_mode_dsi_truly_panel_without_DSC.xml.xml |
| 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_Dual_nt35597_video_mode_dsi_truly_panel_without_DSC.xml.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 |
| 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_video_mode_dsc_dsi_panel.xml |
| |
| #QDCM calibration xml file for amoled panel |
| PRODUCT_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 |
| PRODUCT_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 |
| |
| #QDCM calibration xml file for primary panel sharp 1080p |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sharp_1080p_cmd_mode_dsi_panel.xml |
| |
| #QDCM calibration xml file for secondary panel nt35695b |
| PRODUCT_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 |
| PRODUCT_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 |
| |
| #QDCM calibration xml file base on Talos panel type hx83112a |
| PRODUCT_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 |
| |
| #QDCM calibration xml file base on Talos panel type td4328 |
| PRODUCT_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 |
| PRODUCT_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 |
| |
| #QDCM calibration xml file base on Moorea panel type fhd+ |
| PRODUCT_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 |
| |
| #QDCM calibration xml file base on td4330 |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_trinket_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4330_cmd_mode_dsi_truly_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_trinket_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4330_video_mode_dsi_truly_panel.xml |
| |
| #QDCM calibration xml file base on Moorea panel type wqhd |
| PRODUCT_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 |
| PRODUCT_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 |
| |
| #QDCM calibration xml file base on nt36672 |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_trinket_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt36672_truly_fhd_video_mode_dsi_panel.xml |
| |
| #QDCM calibration xml file base on Rennell FHD+ visionox panel |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_rm69299_amoled_fhd+_video_mode_dsi_visionox_panel.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_rm69299_amoled_fhd+_video_mode_dsi_visionox_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_rm69299_amoled_fhd+_video_mode_dsi_visionox_panel.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_rm69299_amoled_fhd+_cmd_mode_dsi_visionox_panel.xml |
| #QDCM calibration xml file for sharp 120hz panel etc |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sharp_1080p_120hz_dual_dsi_cmd_mode_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Dual_s6e3ha3_amoled_cmd_mode_dsi_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Dual_nt36850_cmd_mode_dsi_truly_panel_without_DSC.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt36672c_fhd_plus_video_mode_dsi_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_rm69298_amoled_fhd+_video_mode_dsi_truly_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_rm69298_amoled_fhd+_cmd_mode_dsi_truly_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_2k_cmd_mode_qsync_dsi_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_2k_video_mode_qsync_dsi_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_fhd_video_mode_qsync_dsi_panel.xml |
| PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_fhd_cmd_mode_qsync_dsi_panel.xml |
| |
| |
| PRODUCT_PROPERTY_OVERRIDES += \ |
| persist.demo.hdmirotationlock=false \ |
| persist.sys.sf.color_saturation=1.0 \ |
| debug.sf.hw=0 \ |
| debug.egl.hw=0 \ |
| debug.mdpcomp.logs=0 \ |
| vendor.gralloc.disable_ubwc=0 \ |
| vendor.display.disable_scaler=0 \ |
| vendor.display.disable_inline_rotator=1 \ |
| vendor.display.disable_decimation=1 \ |
| vendor.display.enable_null_display=0 \ |
| vendor.display.disable_excl_rect=0 \ |
| vendor.display.disable_excl_rect_partial_fb=1 \ |
| vendor.display.comp_mask=0 \ |
| vendor.display.enable_default_color_mode=1 \ |
| vendor.display.enable_optimize_refresh=1 \ |
| vendor.display.disable_ui_3d_tonemap=1 |
| |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true |
| |
| #Set WCG properties |
| ifeq ($(TARGET_BOARD_PLATFORM),$(TRINKET)) |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=false |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=false |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=false |
| else |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 |
| endif |
| |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.force_hwc_copy_for_virtual_displays=true |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.max_frame_buffer_acquired_buffers=3 |
| PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.max_virtual_display_dimension=4096 |
| |
| |
| ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| # Recovery is enabled, logging is enabled |
| PRODUCT_PROPERTY_OVERRIDES += \ |
| vendor.display.disable_hw_recovery_dump=0 |
| else |
| # Recovery is enabled, logging is disabled |
| PRODUCT_PROPERTY_OVERRIDES += \ |
| vendor.display.disable_hw_recovery_dump=1 |
| endif |
| |
| # Properties using default value: |
| # vendor.display.disable_hw_recovery=0 |
| |
| # This matrix should be in column major order, per SurfaceFlinger requirement |
| # 1.0 0.0 0.0 |
| # 0.0 1.0 0.0 |
| # 0.0 0.0 1.0 |
| PRODUCT_PROPERTY_OVERRIDES += \ |
| vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 |
| |
| ifneq ($(TARGET_HAS_LOW_RAM),true) |
| PRODUCT_PACKAGES += vendor.display.color@1.0.vendor \ |
| vendor.display.color@1.1.vendor \ |
| vendor.display.color@1.2.vendor \ |
| vendor.display.color@1.3.vendor \ |
| vendor.display.postproc@1.0.vendor \ |
| vendor.display.color@1.0-service \ |
| vendor.display.color@1.0-service.rc \ |
| ppd |
| endif |