blob: 9d7e0c5d5a75b6d79114b7a86d8cefbe9c83d594 [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 \
12 gralloc.talos \
13 lights.talos \
14 hwcomposer.talos \
15 memtrack.talos \
16 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
Ramakant Singh6ca8a942018-08-29 17:37:19 +053032
33#Enable Charging Icon
34TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
35
36TARGET_USES_GRALLOC1 := true
37TARGET_USES_DRM_PP := true
38TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
39MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
40NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
41TARGET_USES_HWC2 := true
42TARGET_USES_QCOM_DISPLAY_BSP := true
43TARGET_USES_COLOR_METADATA := true
Yuchao Ma1dd3c2c2018-08-30 10:49:05 +080044TARGET_HAS_WIDE_COLOR_DISPLAY := true
Ramakant Singhb1c9ee82018-10-24 11:00:35 +053045TARGET_HAS_HDR_DISPLAY := true
46TARGET_USES_DISPLAY_RENDER_INTENTS := true
Ramakant Singh6ca8a942018-08-29 17:37:19 +053047
48PRODUCT_PROPERTY_OVERRIDES += \
49 persist.demo.hdmirotationlock=false \
50 debug.sf.hw=0 \
51 debug.egl.hw=0 \
52 debug.sf.latch_unsignaled=1 \
53 debug.mdpcomp.logs=0 \
Namratha Siddappabf039892018-10-10 14:16:13 -070054 debug.sf.enable_hwc_vds=1 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053055 ro.vendor.display.cabl=2 \
56 vendor.gralloc.disable_ubwc=0 \
57 vendor.display.disable_scaler=0 \
58 vendor.display.disable_inline_rotator=1 \
59 vendor.display.disable_decimation=1 \
Archit Srivastavafad3b312018-10-26 15:34:14 +053060 vendor.display.disable_excl_rect_partial_fb=1 \
Archit Srivastava5a8761d2018-10-26 12:21:47 +053061 vendor.display.enable_rotator_ui=1 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053062 vendor.display.enable_null_display=0 \
63 vendor.display.disable_excl_rect=0 \
64 vendor.display.comp_mask=0 \
65 vendor.display.disable_hw_recovery=1 \
Pullakavi Srinivas8b33a282018-11-01 12:45:38 +053066 vendor.display.enable_default_color_mode=1
Ramakant Singh6ca8a942018-08-29 17:37:19 +053067
68# This matrix should be in column major order, per SurfaceFlinger requirement
Naseer Ahmedffb3b232018-11-12 16:25:30 -050069# 1.0 0.0 0.0
70# 0.0 1.0 0.0
71# 0.0 0.0 1.0
Ramakant Singh6ca8a942018-08-29 17:37:19 +053072PRODUCT_PROPERTY_OVERRIDES += \
Naseer Ahmedffb3b232018-11-12 16:25:30 -050073 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0