blob: 20bf3141ceb751d49b3954ad0b359fae8b57a187 [file] [log] [blame]
Naseer Ahmedb5c9c362018-12-18 15:48:41 -05001# Display product definitions
2PRODUCT_PACKAGES += \
Naseer Ahmedbbb3b3b2018-11-22 14:06:47 -05003 android.hardware.graphics.composer@2.3-impl \
4 android.hardware.graphics.composer@2.3-service \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -05005 android.hardware.graphics.mapper@2.0-impl-qti-display \
Tharaga Balachandranf7e62a32019-06-06 11:33:29 -04006 vendor.qti.hardware.display.allocator-service \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -05007 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 Ahmed755af6b2019-04-15 19:49:29 -040011 gralloc.$(TARGET_BOARD_PLATFORM) \
12 lights.$(TARGET_BOARD_PLATFORM) \
13 hwcomposer.$(TARGET_BOARD_PLATFORM) \
14 memtrack.$(TARGET_BOARD_PLATFORM) \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050015 libqdMetaData.vendor \
Ramakant Singh50e08292019-05-27 15:27:26 +053016 libdisplayconfig.vendor \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050017 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 Radhakrishnand98f0762019-02-28 16:50:08 -080023 vendor.display.config@1.6.vendor \
24 vendor.display.config@1.7.vendor \
25 vendor.display.config@1.8.vendor \
Archit Srivastava34042242019-05-20 10:54:22 +053026 vendor.display.config@1.9.vendor \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050027 modetest
28
29#QDCM calibration xml file for 2k panel
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_nt35597_cmd_mode_dsi_truly_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_nt35597_video_mode_dsi_truly_panel_with_DSC.xml
c_xshuc032d1a2019-05-24 14:09:04 +080032
33#QDCM calibration xml file for 2k dual dsi panel
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_nt35597_cmd_mode_dsi_truly_panel_without_DSC.xml.xml
35PRODUCT_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
36
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050037#QDCM calibration xml file for 4k panel
38PRODUCT_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
39PRODUCT_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_xshuc032d1a2019-05-24 14:09:04 +080040
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050041#QDCM calibration xml file for amoled panel
42PRODUCT_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
43PRODUCT_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
44
Qing Huangde9ad3e2019-03-18 16:05:13 +080045#QDCM calibration xml file for primary panel sharp 1080p
46PRODUCT_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
47
48#QDCM calibration xml file for secondary panel nt35695b
49PRODUCT_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
50PRODUCT_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
51
c_xshuc032d1a2019-05-24 14:09:04 +080052#QDCM calibration xml file base on Talos panel type hx83112a
53PRODUCT_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
54
55#QDCM calibration xml file base on Talos panel type td4328
56PRODUCT_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
57PRODUCT_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
58
59#QDCM calibration xml file base on Moorea panel type fhd+
60PRODUCT_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
61
62#QDCM calibration xml file base on td4330
63PRODUCT_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
64PRODUCT_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
65
66#QDCM calibration xml file base on Moorea panel type wqhd
67PRODUCT_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
68PRODUCT_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
69
70#QDCM calibration xml file base on nt36672
71PRODUCT_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 Huangeb785ce2019-04-01 11:28:03 +080072
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050073PRODUCT_PROPERTY_OVERRIDES += \
74 persist.demo.hdmirotationlock=false \
75 persist.sys.sf.color_saturation=1.0 \
76 debug.sf.hw=0 \
77 debug.egl.hw=0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050078 debug.mdpcomp.logs=0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050079 vendor.gralloc.disable_ubwc=0 \
80 vendor.display.disable_scaler=0 \
81 vendor.display.disable_inline_rotator=1 \
82 vendor.display.disable_decimation=1 \
83 vendor.display.enable_null_display=0 \
84 vendor.display.disable_excl_rect=0 \
85 vendor.display.comp_mask=0 \
Sushil Chauhan1c848712019-05-16 10:00:59 -070086 vendor.display.enable_default_color_mode=1 \
Padmanabhan Komanduru331f6ca2019-03-18 14:57:56 +053087 vendor.display.enable_optimize_refresh=1 \
Sushil Chauhan1c848712019-05-16 10:00:59 -070088 vendor.display.disable_ui_3d_tonemap=1
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050089
Naseer Ahmeda887f8a2019-02-28 19:36:23 -050090#Set WCG properties
91PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true
92PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
93PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
94PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696
95
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050096ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
97# Recovery is enabled, logging is enabled
98PRODUCT_PROPERTY_OVERRIDES += \
99 vendor.display.disable_hw_recovery_dump=0
100else
101# Recovery is enabled, logging is disabled
102PRODUCT_PROPERTY_OVERRIDES += \
103 vendor.display.disable_hw_recovery_dump=1
104endif
105
106# Properties using default value:
107# vendor.display.disable_hw_recovery=0
108
109# This matrix should be in column major order, per SurfaceFlinger requirement
110# 1.0 0.0 0.0
111# 0.0 1.0 0.0
112# 0.0 0.0 1.0
113PRODUCT_PROPERTY_OVERRIDES += \
114 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0