blob: b337dff3611c59a68a11ea8b082c5956fd2c06f2 [file] [log] [blame]
Naseer Ahmed726b5d32018-12-18 15:48:41 -05001# Display product definitions
2PRODUCT_PACKAGES += \
3 android.hardware.graphics.composer@2.2-impl \
4 android.hardware.graphics.composer@2.2-service \
5 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
34PRODUCT_PROPERTY_OVERRIDES += \
35 persist.demo.hdmirotationlock=false \
36 persist.sys.sf.color_saturation=1.0 \
37 debug.sf.hw=0 \
38 debug.egl.hw=0 \
39 debug.sf.latch_unsignaled=1 \
40 debug.mdpcomp.logs=0 \
41 ro.vendor.display.cabl=2 \
42 vendor.gralloc.disable_ubwc=0 \
43 vendor.display.disable_scaler=0 \
44 vendor.display.disable_inline_rotator=1 \
45 vendor.display.disable_decimation=1 \
46 vendor.display.enable_null_display=0 \
47 vendor.display.disable_excl_rect=0 \
48 vendor.display.comp_mask=0 \
49 vendor.display.enable_default_color_mode=1
50
51ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
52# Recovery is enabled, logging is enabled
53PRODUCT_PROPERTY_OVERRIDES += \
54 vendor.display.disable_hw_recovery_dump=0
55else
56# Recovery is enabled, logging is disabled
57PRODUCT_PROPERTY_OVERRIDES += \
58 vendor.display.disable_hw_recovery_dump=1
59endif
60
61# Properties using default value:
62# vendor.display.disable_hw_recovery=0
63
64# This matrix should be in column major order, per SurfaceFlinger requirement
65# 1.0 0.0 0.0
66# 0.0 1.0 0.0
67# 0.0 0.0 1.0
68PRODUCT_PROPERTY_OVERRIDES += \
69 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0