blob: 412b64ca3f358907469e07bd6cfd4168d72838a7 [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 \
Ramkumar Radhakrishnan2f8ebf42019-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 \
Naseer Ahmed726b5d32018-12-18 15:48:41 -050025 modetest
26
27#QDCM calibration xml file for 2k panel
28PRODUCT_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
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_video_mode_dsi_truly_panel_with_DSC.xml
30#QDCM calibration xml file for 4k panel
31PRODUCT_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
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_video_mode_dsc_dsi_panel.xml
33#QDCM calibration xml file for amoled panel
34PRODUCT_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
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_video_mode_dsi_boe_panel_with_DSC.xml
36
37PRODUCT_PROPERTY_OVERRIDES += \
38 persist.demo.hdmirotationlock=false \
39 persist.sys.sf.color_saturation=1.0 \
40 debug.sf.hw=0 \
41 debug.egl.hw=0 \
42 debug.sf.latch_unsignaled=1 \
43 debug.mdpcomp.logs=0 \
44 ro.vendor.display.cabl=2 \
45 vendor.gralloc.disable_ubwc=0 \
Alex Sarraf51797cd2019-03-01 10:03:54 -080046 vendor.display.disable_scaler=1 \
47 vendor.display.disable_offline_rotator=1 \
Naseer Ahmed726b5d32018-12-18 15:48:41 -050048 vendor.display.disable_excl_rect=0 \
49 vendor.display.comp_mask=0 \
50 vendor.display.enable_default_color_mode=1
51
52ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
53# Recovery is enabled, logging is enabled
54PRODUCT_PROPERTY_OVERRIDES += \
55 vendor.display.disable_hw_recovery_dump=0
56else
57# Recovery is enabled, logging is disabled
58PRODUCT_PROPERTY_OVERRIDES += \
59 vendor.display.disable_hw_recovery_dump=1
60endif
61
Alex Sarraf51797cd2019-03-01 10:03:54 -080062QMAA_ENABLED_HAL_MODULES += display
63ifeq ($(TARGET_USES_QMAA),true)
64ifeq ($(TARGET_USES_QMAA_OVERRIDE_DISPLAY),true)
65PRODUCT_PROPERTY_OVERRIDES += \
66 vendor.display.enable_null_display=0
67else
68PRODUCT_PROPERTY_OVERRIDES += \
69 vendor.display.enable_null_display=1
70endif
71endif
72
Naseer Ahmed726b5d32018-12-18 15:48:41 -050073# Properties using default value:
74# vendor.display.disable_hw_recovery=0
75
76# This matrix should be in column major order, per SurfaceFlinger requirement
77# 1.0 0.0 0.0
78# 0.0 1.0 0.0
79# 0.0 0.0 1.0
80PRODUCT_PROPERTY_OVERRIDES += \
81 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0