blob: 6755f724ce00f9aef5a06938f3b17e90fb6f7552 [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 \
11 gralloc.qcom \
12 lights.qcom \
13 hwcomposer.qcom \
14 memtrack.qcom \
15 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 \
22 modetest
23
24#QDCM calibration xml file for 2k panel
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_nt35597_cmd_mode_dsi_truly_panel_with_DSC.xml
26PRODUCT_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
27#QDCM calibration xml file for 4k panel
28PRODUCT_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
29PRODUCT_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
30#QDCM calibration xml file for amoled panel
31PRODUCT_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
32PRODUCT_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
33
Qing Huangde9ad3e2019-03-18 16:05:13 +080034#QDCM calibration xml file for primary panel sharp 1080p
35PRODUCT_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
36
37#QDCM calibration xml file for secondary panel nt35695b
38PRODUCT_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
39PRODUCT_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
40
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050041PRODUCT_PROPERTY_OVERRIDES += \
42 persist.demo.hdmirotationlock=false \
43 persist.sys.sf.color_saturation=1.0 \
44 debug.sf.hw=0 \
45 debug.egl.hw=0 \
46 debug.sf.latch_unsignaled=1 \
47 debug.mdpcomp.logs=0 \
48 ro.vendor.display.cabl=2 \
49 vendor.gralloc.disable_ubwc=0 \
50 vendor.display.disable_scaler=0 \
51 vendor.display.disable_inline_rotator=1 \
52 vendor.display.disable_decimation=1 \
53 vendor.display.enable_null_display=0 \
54 vendor.display.disable_excl_rect=0 \
55 vendor.display.comp_mask=0 \
56 vendor.display.enable_default_color_mode=1
57
Naseer Ahmeda887f8a2019-02-28 19:36:23 -050058#Set WCG properties
59PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true
60PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
61PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
62PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696
63
Naseer Ahmedb5c9c362018-12-18 15:48:41 -050064ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
65# Recovery is enabled, logging is enabled
66PRODUCT_PROPERTY_OVERRIDES += \
67 vendor.display.disable_hw_recovery_dump=0
68else
69# Recovery is enabled, logging is disabled
70PRODUCT_PROPERTY_OVERRIDES += \
71 vendor.display.disable_hw_recovery_dump=1
72endif
73
74# Properties using default value:
75# vendor.display.disable_hw_recovery=0
76
77# This matrix should be in column major order, per SurfaceFlinger requirement
78# 1.0 0.0 0.0
79# 0.0 1.0 0.0
80# 0.0 0.0 1.0
81PRODUCT_PROPERTY_OVERRIDES += \
82 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0