blob: 8d165e01c3aedcf45554f5147ba5789ad34dc07c [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 \
6 vendor.qti.hardware.display.allocator@1.0-service \
7 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 \
16 vendor.display.config@1.0.vendor \
17 vendor.display.config@1.1.vendor \
18 vendor.display.config@1.2.vendor \
19 vendor.display.config@1.3.vendor \
20 vendor.display.config@1.4.vendor \
21 vendor.display.config@1.5.vendor \
Ramkumar Radhakrishnand98f0762019-02-28 16:50:08 -080022 vendor.display.config@1.6.vendor \
23 vendor.display.config@1.7.vendor \
24 vendor.display.config@1.8.vendor \
Archit Srivastava34042242019-05-20 10:54:22 +053025 vendor.display.config@1.9.vendor \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050026 modetest
27
28#QDCM calibration xml file for 2k panel
29PRODUCT_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
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_video_mode_dsi_truly_panel_with_DSC.xml
31#QDCM calibration xml file for 4k panel
32PRODUCT_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
33PRODUCT_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
34#QDCM calibration xml file for amoled panel
35PRODUCT_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
36PRODUCT_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
37
Qing Huangde9ad3e2019-03-18 16:05:13 +080038#QDCM calibration xml file for primary panel sharp 1080p
39PRODUCT_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
40
41#QDCM calibration xml file for secondary panel nt35695b
42PRODUCT_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
43PRODUCT_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
44
Qing Huangeb785ce2019-04-01 11:28:03 +080045#QDCM calibration xml file for 2k dual dsi panel
46PRODUCT_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
47PRODUCT_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
48
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050049PRODUCT_PROPERTY_OVERRIDES += \
50 persist.demo.hdmirotationlock=false \
51 persist.sys.sf.color_saturation=1.0 \
52 debug.sf.hw=0 \
53 debug.egl.hw=0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050054 debug.mdpcomp.logs=0 \
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050055 vendor.gralloc.disable_ubwc=0 \
56 vendor.display.disable_scaler=0 \
57 vendor.display.disable_inline_rotator=1 \
58 vendor.display.disable_decimation=1 \
59 vendor.display.enable_null_display=0 \
60 vendor.display.disable_excl_rect=0 \
61 vendor.display.comp_mask=0 \
62 vendor.display.enable_default_color_mode=1
63
Naseer Ahmeda887f8a2019-02-28 19:36:23 -050064#Set WCG properties
65PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true
66PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
67PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
68PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696
69
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050070ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
71# Recovery is enabled, logging is enabled
72PRODUCT_PROPERTY_OVERRIDES += \
73 vendor.display.disable_hw_recovery_dump=0
74else
75# Recovery is enabled, logging is disabled
76PRODUCT_PROPERTY_OVERRIDES += \
77 vendor.display.disable_hw_recovery_dump=1
78endif
79
80# Properties using default value:
81# vendor.display.disable_hw_recovery=0
82
83# This matrix should be in column major order, per SurfaceFlinger requirement
84# 1.0 0.0 0.0
85# 0.0 1.0 0.0
86# 0.0 0.0 1.0
87PRODUCT_PROPERTY_OVERRIDES += \
88 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0