blob: 3c5baceb5b6764fea077874424787307ca0feb9a [file] [log] [blame]
Ramakant Singh6ca8a942018-08-29 17:37:19 +05301#Display related packages and configuration
2
3PRODUCT_PACKAGES += \
Padmanabhan Komanduru8073dd52020-06-05 15:27:16 +05304 android.hardware.graphics.composer@2.4-impl \
5 android.hardware.graphics.composer@2.4-service \
Ramakant Singh6ca8a942018-08-29 17:37:19 +05306 android.hardware.graphics.mapper@2.0-impl-qti-display \
Tharaga Balachandranc6852f72019-05-15 11:24:28 -04007 vendor.qti.hardware.display.allocator-service \
Ramakant Singh6ca8a942018-08-29 17:37:19 +05308 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 \
Archit Srivastava8ba37502019-04-24 17:53:09 +053012 gralloc.sm6150 \
13 lights.sm6150 \
14 hwcomposer.sm6150 \
15 memtrack.sm6150 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053016 libqdutils \
17 libqdMetaData \
18 libqdMetaData.system \
19 modetest
20
Yuchao Ma5af61272018-10-24 11:39:06 +080021#QDCM calibration xml file base on Talos panel type hx83112a
Qing Huangde9ad3e2019-03-18 16:05:13 +080022PRODUCT_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
Yuchao Ma5af61272018-10-24 11:39:06 +080023#QDCM calibration xml file base on Talos panel type td4328
Qing Huangde9ad3e2019-03-18 16:05:13 +080024PRODUCT_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
Yuchao Ma5af61272018-10-24 11:39:06 +080026
27#QDCM calibration xml file base on Moorea panel type fhd+
Qing Huangde9ad3e2019-03-18 16:05:13 +080028PRODUCT_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
Yuchao Ma5af61272018-10-24 11:39:06 +080029#QDCM calibration xml file base on Moorea panel type sw43404
Qing Huangde9ad3e2019-03-18 16:05:13 +080030PRODUCT_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
c_xshu0e3db812019-02-26 16:55:21 +080032#QDCM calibration xml file base on Moorea panel type wqhd
Qing Huangde9ad3e2019-03-18 16:05:13 +080033PRODUCT_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
Ramakant Singh6ca8a942018-08-29 17:37:19 +053035
Xu Yang0b8d37c2019-01-31 09:53:12 +080036#QDCM calibration xml file for secondary panel nt35695b
Qing Huangde9ad3e2019-03-18 16:05:13 +080037PRODUCT_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
Xu Yang0b8d37c2019-01-31 09:53:12 +080039
Ramakant Singh6ca8a942018-08-29 17:37:19 +053040#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
Ramakant Singhb1c9ee82018-10-24 11:00:35 +053051TARGET_USES_DISPLAY_RENDER_INTENTS := true
Tharaga Balachandranc6852f72019-05-15 11:24:28 -040052TARGET_USES_QTI_MAPPER_2_0 := true
Ashish Kumaraffcc542019-08-14 13:46:19 +053053TARGET_USES_QTI_MAPPER_EXTENSIONS_1_1 := true
Ramakant Singh6ca8a942018-08-29 17:37:19 +053054
55PRODUCT_PROPERTY_OVERRIDES += \
56 persist.demo.hdmirotationlock=false \
Naseer Ahmed5cfc2cb2018-11-13 19:04:17 -050057 persist.sys.sf.color_saturation=1.0 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053058 debug.sf.hw=0 \
59 debug.egl.hw=0 \
60 debug.sf.latch_unsignaled=1 \
61 debug.mdpcomp.logs=0 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053062 vendor.gralloc.disable_ubwc=0 \
63 vendor.display.disable_scaler=0 \
64 vendor.display.disable_inline_rotator=1 \
65 vendor.display.disable_decimation=1 \
Archit Srivastavafad3b312018-10-26 15:34:14 +053066 vendor.display.disable_excl_rect_partial_fb=1 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053067 vendor.display.enable_null_display=0 \
68 vendor.display.disable_excl_rect=0 \
69 vendor.display.comp_mask=0 \
Padmanabhan Komanduru331f6ca2019-03-18 14:57:56 +053070 vendor.display.enable_default_color_mode=1 \
71 vendor.display.enable_optimize_refresh=1
Ramakant Singh6ca8a942018-08-29 17:37:19 +053072
Ramakant Singh91c140e2019-03-15 15:24:41 +053073ifneq (,$(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
Ramakant Singh6ca8a942018-08-29 17:37:19 +053086# This matrix should be in column major order, per SurfaceFlinger requirement
Naseer Ahmedffb3b232018-11-12 16:25:30 -050087# 1.0 0.0 0.0
88# 0.0 1.0 0.0
89# 0.0 0.0 1.0
Ramakant Singh6ca8a942018-08-29 17:37:19 +053090PRODUCT_PROPERTY_OVERRIDES += \
Naseer Ahmedffb3b232018-11-12 16:25:30 -050091 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0