blob: 4e8dcafbd9a378b6875bee118136cb4c38a3e1bc [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 \
Tharaga Balachandranab150ab2019-09-26 19:17:58 -04005 android.hardware.graphics.mapper@3.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 \
Dileep Marchya13200362019-06-21 17:05:31 +053027 vendor.display.config@1.10.vendor \
Tharaga Balachandranab150ab2019-09-26 19:17:58 -040028 vendor.qti.hardware.display.mapper@3.0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050029 modetest
30
31#QDCM calibration xml file for 2k panel
32PRODUCT_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
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_nt35597_video_mode_dsi_truly_panel_with_DSC.xml
c_xshuc032d1a2019-05-24 14:09:04 +080034
35#QDCM calibration xml file for 2k dual dsi panel
36PRODUCT_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
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_Dual_nt35597_video_mode_dsi_truly_panel_without_DSC.xml.xml
38
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050039#QDCM calibration xml file for 4k panel
40PRODUCT_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
41PRODUCT_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 +080042
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050043#QDCM calibration xml file for amoled panel
44PRODUCT_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
45PRODUCT_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
46
Qing Huangde9ad3e2019-03-18 16:05:13 +080047#QDCM calibration xml file for primary panel sharp 1080p
48PRODUCT_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
49
50#QDCM calibration xml file for secondary panel nt35695b
51PRODUCT_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
52PRODUCT_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
53
c_xshuc032d1a2019-05-24 14:09:04 +080054#QDCM calibration xml file base on Talos panel type hx83112a
55PRODUCT_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
56
57#QDCM calibration xml file base on Talos panel type td4328
58PRODUCT_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
59PRODUCT_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
60
61#QDCM calibration xml file base on Moorea panel type fhd+
62PRODUCT_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
63
64#QDCM calibration xml file base on td4330
65PRODUCT_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
66PRODUCT_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
67
68#QDCM calibration xml file base on Moorea panel type wqhd
69PRODUCT_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
70PRODUCT_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
71
72#QDCM calibration xml file base on nt36672
73PRODUCT_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 +080074
Xu Yang69281ee2019-06-20 15:09:20 +080075#QDCM calibration xml file base on Rennell FHD+ visionox panel
Renchao Liu5aa963a2019-11-01 14:58:50 +080076PRODUCT_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
77PRODUCT_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 Yang69281ee2019-06-20 15:09:20 +080078
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050079PRODUCT_PROPERTY_OVERRIDES += \
80 persist.demo.hdmirotationlock=false \
81 persist.sys.sf.color_saturation=1.0 \
82 debug.sf.hw=0 \
83 debug.egl.hw=0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050084 debug.mdpcomp.logs=0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050085 vendor.gralloc.disable_ubwc=0 \
86 vendor.display.disable_scaler=0 \
87 vendor.display.disable_inline_rotator=1 \
88 vendor.display.disable_decimation=1 \
89 vendor.display.enable_null_display=0 \
90 vendor.display.disable_excl_rect=0 \
91 vendor.display.comp_mask=0 \
Sushil Chauhan1c848712019-05-16 10:00:59 -070092 vendor.display.enable_default_color_mode=1 \
Padmanabhan Komanduru331f6ca2019-03-18 14:57:56 +053093 vendor.display.enable_optimize_refresh=1 \
Sushil Chauhan1c848712019-05-16 10:00:59 -070094 vendor.display.disable_ui_3d_tonemap=1
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050095
Naseer Ahmeda887f8a2019-02-28 19:36:23 -050096#Set WCG properties
Padmanabhan Komanduru44852c72019-08-19 19:19:06 +053097ifeq ($(TARGET_BOARD_PLATFORM), sm8150)
Naseer Ahmeda887f8a2019-02-28 19:36:23 -050098PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true
99PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
100PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
101PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696
Naseer Ahmed4671fa32019-09-25 15:30:10 -0400102PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true
Padmanabhan Komanduru44852c72019-08-19 19:19:06 +0530103endif
Naseer Ahmeda887f8a2019-02-28 19:36:23 -0500104
Naseer Ahmedb5c9c362018-12-18 15:48:41 -0500105ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
106# Recovery is enabled, logging is enabled
107PRODUCT_PROPERTY_OVERRIDES += \
108 vendor.display.disable_hw_recovery_dump=0
109else
110# Recovery is enabled, logging is disabled
111PRODUCT_PROPERTY_OVERRIDES += \
112 vendor.display.disable_hw_recovery_dump=1
113endif
114
115# Properties using default value:
116# vendor.display.disable_hw_recovery=0
117
118# This matrix should be in column major order, per SurfaceFlinger requirement
119# 1.0 0.0 0.0
120# 0.0 1.0 0.0
121# 0.0 0.0 1.0
122PRODUCT_PROPERTY_OVERRIDES += \
123 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0
Ashu Sharmace45ef02019-09-20 11:45:29 +0530124
125ifneq ($(TARGET_HAS_LOW_RAM),true)
126PRODUCT_PACKAGES += vendor.display.color@1.0.vendor \
127 vendor.display.color@1.1.vendor \
128 vendor.display.color@1.2.vendor \
129 vendor.display.color@1.3.vendor \
130 vendor.display.postproc@1.0.vendor \
131 vendor.display.color@1.0-service \
132 vendor.display.color@1.0-service.rc \
133 ppd
134endif