Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 1 | # Display product definitions |
| 2 | PRODUCT_PACKAGES += \ |
Naseer Ahmed | bbb3b3b | 2018-11-22 14:06:47 -0500 | [diff] [blame] | 3 | android.hardware.graphics.composer@2.3-impl \ |
| 4 | android.hardware.graphics.composer@2.3-service \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 5 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
Tharaga Balachandran | f7e62a3 | 2019-06-06 11:33:29 -0400 | [diff] [blame] | 6 | vendor.qti.hardware.display.allocator-service \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 7 | android.hardware.memtrack@1.0-impl \ |
| 8 | android.hardware.memtrack@1.0-service \ |
| 9 | android.hardware.light@2.0-impl \ |
| 10 | android.hardware.light@2.0-service \ |
Naseer Ahmed | 755af6b | 2019-04-15 19:49:29 -0400 | [diff] [blame] | 11 | gralloc.$(TARGET_BOARD_PLATFORM) \ |
| 12 | lights.$(TARGET_BOARD_PLATFORM) \ |
| 13 | hwcomposer.$(TARGET_BOARD_PLATFORM) \ |
| 14 | memtrack.$(TARGET_BOARD_PLATFORM) \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 15 | libqdMetaData.vendor \ |
Ramakant Singh | 50e0829 | 2019-05-27 15:27:26 +0530 | [diff] [blame] | 16 | libdisplayconfig.vendor \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 17 | vendor.display.config@1.0.vendor \ |
| 18 | vendor.display.config@1.1.vendor \ |
| 19 | vendor.display.config@1.2.vendor \ |
| 20 | vendor.display.config@1.3.vendor \ |
| 21 | vendor.display.config@1.4.vendor \ |
| 22 | vendor.display.config@1.5.vendor \ |
Ramkumar Radhakrishnan | d98f076 | 2019-02-28 16:50:08 -0800 | [diff] [blame] | 23 | vendor.display.config@1.6.vendor \ |
| 24 | vendor.display.config@1.7.vendor \ |
| 25 | vendor.display.config@1.8.vendor \ |
Archit Srivastava | 3404224 | 2019-05-20 10:54:22 +0530 | [diff] [blame] | 26 | vendor.display.config@1.9.vendor \ |
Dileep Marchya | 1320036 | 2019-06-21 17:05:31 +0530 | [diff] [blame] | 27 | vendor.display.config@1.10.vendor \ |
Naseer Ahmed | 73bd384 | 2019-10-04 15:22:13 -0400 | [diff] [blame] | 28 | vendor.qti.hardware.display.mapper@2.0.vendor \ |
| 29 | vendor.qti.hardware.display.mapper@3.0.vendor \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 30 | modetest |
| 31 | |
| 32 | #QDCM calibration xml file for 2k panel |
| 33 | 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 |
| 34 | 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 |
c_xshu | c032d1a | 2019-05-24 14:09:04 +0800 | [diff] [blame] | 35 | |
| 36 | #QDCM calibration xml file for 2k dual dsi panel |
| 37 | 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 |
| 38 | 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 |
| 39 | |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 40 | #QDCM calibration xml file for 4k panel |
| 41 | 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 |
| 42 | 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 |
c_xshu | c032d1a | 2019-05-24 14:09:04 +0800 | [diff] [blame] | 43 | |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 44 | #QDCM calibration xml file for amoled panel |
| 45 | 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 |
| 46 | 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 |
| 47 | |
Qing Huang | de9ad3e | 2019-03-18 16:05:13 +0800 | [diff] [blame] | 48 | #QDCM calibration xml file for primary panel sharp 1080p |
| 49 | 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 |
| 50 | |
| 51 | #QDCM calibration xml file for secondary panel nt35695b |
| 52 | 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 |
| 53 | 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 |
| 54 | |
c_xshu | c032d1a | 2019-05-24 14:09:04 +0800 | [diff] [blame] | 55 | #QDCM calibration xml file base on Talos panel type hx83112a |
| 56 | 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 |
| 57 | |
| 58 | #QDCM calibration xml file base on Talos panel type td4328 |
| 59 | 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 |
| 60 | 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 |
| 61 | |
| 62 | #QDCM calibration xml file base on Moorea panel type fhd+ |
| 63 | 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 |
| 64 | |
| 65 | #QDCM calibration xml file base on td4330 |
| 66 | 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 |
| 67 | 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 |
| 68 | |
| 69 | #QDCM calibration xml file base on Moorea panel type wqhd |
| 70 | 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 |
| 71 | 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 |
| 72 | |
| 73 | #QDCM calibration xml file base on nt36672 |
| 74 | 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 |
Qing Huang | eb785ce | 2019-04-01 11:28:03 +0800 | [diff] [blame] | 75 | |
Xu Yang | 69281ee | 2019-06-20 15:09:20 +0800 | [diff] [blame] | 76 | #QDCM calibration xml file base on Rennell FHD+ visionox panel |
Renchao Liu | 5aa963a | 2019-11-01 14:58:50 +0800 | [diff] [blame] | 77 | 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 |
| 78 | 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 |
Xu Yang | 69281ee | 2019-06-20 15:09:20 +0800 | [diff] [blame] | 79 | |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 80 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 81 | persist.demo.hdmirotationlock=false \ |
| 82 | persist.sys.sf.color_saturation=1.0 \ |
| 83 | debug.sf.hw=0 \ |
| 84 | debug.egl.hw=0 \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 85 | debug.mdpcomp.logs=0 \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 86 | vendor.gralloc.disable_ubwc=0 \ |
| 87 | vendor.display.disable_scaler=0 \ |
| 88 | vendor.display.disable_inline_rotator=1 \ |
| 89 | vendor.display.disable_decimation=1 \ |
| 90 | vendor.display.enable_null_display=0 \ |
| 91 | vendor.display.disable_excl_rect=0 \ |
| 92 | vendor.display.comp_mask=0 \ |
Sushil Chauhan | 1c84871 | 2019-05-16 10:00:59 -0700 | [diff] [blame] | 93 | vendor.display.enable_default_color_mode=1 \ |
Padmanabhan Komanduru | 331f6ca | 2019-03-18 14:57:56 +0530 | [diff] [blame] | 94 | vendor.display.enable_optimize_refresh=1 \ |
Sushil Chauhan | 1c84871 | 2019-05-16 10:00:59 -0700 | [diff] [blame] | 95 | vendor.display.disable_ui_3d_tonemap=1 |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 96 | |
Naseer Ahmed | a887f8a | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 97 | #Set WCG properties |
Padmanabhan Komanduru | 44852c7 | 2019-08-19 19:19:06 +0530 | [diff] [blame] | 98 | ifeq ($(TARGET_BOARD_PLATFORM), sm8150) |
Naseer Ahmed | a887f8a | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 99 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true |
| 100 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true |
| 101 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true |
| 102 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 |
Naseer Ahmed | 4671fa3 | 2019-09-25 15:30:10 -0400 | [diff] [blame] | 103 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true |
Padmanabhan Komanduru | 44852c7 | 2019-08-19 19:19:06 +0530 | [diff] [blame] | 104 | endif |
Naseer Ahmed | a887f8a | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 105 | |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 106 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 107 | # Recovery is enabled, logging is enabled |
| 108 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 109 | vendor.display.disable_hw_recovery_dump=0 |
| 110 | else |
| 111 | # Recovery is enabled, logging is disabled |
| 112 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 113 | vendor.display.disable_hw_recovery_dump=1 |
| 114 | endif |
| 115 | |
| 116 | # Properties using default value: |
| 117 | # vendor.display.disable_hw_recovery=0 |
| 118 | |
| 119 | # This matrix should be in column major order, per SurfaceFlinger requirement |
| 120 | # 1.0 0.0 0.0 |
| 121 | # 0.0 1.0 0.0 |
| 122 | # 0.0 0.0 1.0 |
| 123 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 124 | vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 |
Ashu Sharma | ce45ef0 | 2019-09-20 11:45:29 +0530 | [diff] [blame] | 125 | |
| 126 | ifneq ($(TARGET_HAS_LOW_RAM),true) |
| 127 | PRODUCT_PACKAGES += vendor.display.color@1.0.vendor \ |
| 128 | vendor.display.color@1.1.vendor \ |
| 129 | vendor.display.color@1.2.vendor \ |
| 130 | vendor.display.color@1.3.vendor \ |
| 131 | vendor.display.postproc@1.0.vendor \ |
| 132 | vendor.display.color@1.0-service \ |
| 133 | vendor.display.color@1.0-service.rc \ |
| 134 | ppd |
| 135 | endif |