blob: 41675de8d91d1910bc10a5a2de486efc79d88a57 [file] [log] [blame]
Ramakant Singh6ca8a942018-08-29 17:37:19 +05301#Display related packages and configuration
2
3PRODUCT_PACKAGES += \
Ramakant Singhb31d7652018-10-04 18:26:28 +05304 android.hardware.graphics.composer@2.2-impl \
5 android.hardware.graphics.composer@2.2-service \
Ramakant Singh6ca8a942018-08-29 17:37:19 +05306 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 \
Naseer Ahmed4f95fff2019-01-17 19:26:37 -050012 gralloc.qcom \
13 lights.qcom \
14 hwcomposer.qcom \
15 memtrack.qcom \
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
Yuchao Ma1dd3c2c2018-08-30 10:49:05 +080022PRODUCT_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_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
24PRODUCT_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_td4328_cmd_mode_dsi_truly_panel.xml
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_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_nt35597_cmd_mode_dsi_truly_panel_with_DSC.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_nt35597_cmd_mode_dsi_truly_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_nt35597_cmd_mode_dsi_truly_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
33PRODUCT_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_Sharp_WQHD_cmd_mode_dsi_panel.xml
34PRODUCT_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_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
37PRODUCT_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_nt35695b_truly_fhd_command_mode_dsi_panel.xml
38PRODUCT_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_nt35695b_truly_fhd_video_mode_dsi_panel.xml
39
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
Ramakant Singh6ca8a942018-08-29 17:37:19 +053052
53PRODUCT_PROPERTY_OVERRIDES += \
54 persist.demo.hdmirotationlock=false \
Naseer Ahmed5cfc2cb2018-11-13 19:04:17 -050055 persist.sys.sf.color_saturation=1.0 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053056 debug.sf.hw=0 \
57 debug.egl.hw=0 \
58 debug.sf.latch_unsignaled=1 \
59 debug.mdpcomp.logs=0 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053060 ro.vendor.display.cabl=2 \
61 vendor.gralloc.disable_ubwc=0 \
62 vendor.display.disable_scaler=0 \
63 vendor.display.disable_inline_rotator=1 \
64 vendor.display.disable_decimation=1 \
Archit Srivastavafad3b312018-10-26 15:34:14 +053065 vendor.display.disable_excl_rect_partial_fb=1 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053066 vendor.display.enable_null_display=0 \
67 vendor.display.disable_excl_rect=0 \
68 vendor.display.comp_mask=0 \
Pullakavi Srinivas8b33a282018-11-01 12:45:38 +053069 vendor.display.enable_default_color_mode=1
Ramakant Singh6ca8a942018-08-29 17:37:19 +053070
71# This matrix should be in column major order, per SurfaceFlinger requirement
Naseer Ahmedffb3b232018-11-12 16:25:30 -050072# 1.0 0.0 0.0
73# 0.0 1.0 0.0
74# 0.0 0.0 1.0
Ramakant Singh6ca8a942018-08-29 17:37:19 +053075PRODUCT_PROPERTY_OVERRIDES += \
Naseer Ahmedffb3b232018-11-12 16:25:30 -050076 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0