blob: c0bf68bc5d62d5b2d54e8922ef0dd122487fc2ea [file] [log] [blame]
Ramakant Singh6ca8a942018-08-29 17:37:19 +05301#Display related packages and configuration
2
3PRODUCT_PACKAGES += \
Ramakant Singhb31d7652018-10-04 18:26:28 +05304 android.hardware.graphics.composer@2.2-impl \
5 android.hardware.graphics.composer@2.2-service \
Ramakant Singh6ca8a942018-08-29 17:37:19 +05306 android.hardware.graphics.mapper@2.0-impl-qti-display \
7 vendor.qti.hardware.display.allocator@1.0-service \
8 android.hardware.memtrack@1.0-impl \
9 android.hardware.memtrack@1.0-service \
10 android.hardware.light@2.0-impl \
11 android.hardware.light@2.0-service \
12 gralloc.talos \
13 lights.talos \
14 hwcomposer.talos \
15 memtrack.talos \
16 libqdutils \
17 libqdMetaData \
18 libqdMetaData.system \
19 modetest
20
Yuchao Ma1dd3c2c2018-08-30 10:49:05 +080021#QDCM calibration xml file
22PRODUCT_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_hx83112a_video_mode_dsi_truly_panel.xml
Ramakant Singh6ca8a942018-08-29 17:37:19 +053023
24#Enable Charging Icon
25TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
26
27TARGET_USES_GRALLOC1 := true
28TARGET_USES_DRM_PP := true
29TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
30MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
31NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
32TARGET_USES_HWC2 := true
33TARGET_USES_QCOM_DISPLAY_BSP := true
34TARGET_USES_COLOR_METADATA := true
Yuchao Ma1dd3c2c2018-08-30 10:49:05 +080035TARGET_HAS_WIDE_COLOR_DISPLAY := true
Ramakant Singh6ca8a942018-08-29 17:37:19 +053036
37PRODUCT_PROPERTY_OVERRIDES += \
38 persist.demo.hdmirotationlock=false \
39 debug.sf.hw=0 \
40 debug.egl.hw=0 \
41 debug.sf.latch_unsignaled=1 \
42 debug.mdpcomp.logs=0 \
Namratha Siddappabf039892018-10-10 14:16:13 -070043 debug.sf.enable_hwc_vds=1 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053044 ro.vendor.display.cabl=2 \
45 vendor.gralloc.disable_ubwc=0 \
46 vendor.display.disable_scaler=0 \
47 vendor.display.disable_inline_rotator=1 \
48 vendor.display.disable_decimation=1 \
Archit Srivastavafad3b312018-10-26 15:34:14 +053049 vendor.display.disable_excl_rect_partial_fb=1 \
Ramakant Singh6ca8a942018-08-29 17:37:19 +053050 vendor.display.enable_null_display=0 \
51 vendor.display.disable_excl_rect=0 \
52 vendor.display.comp_mask=0 \
53 vendor.display.disable_hw_recovery=1 \
Pullakavi Srinivas915ed092018-10-08 12:00:57 +053054 vendor.display.enable_default_color_mode=1 \
55 vendor.display.drop_skewed_vsync=1
Ramakant Singh6ca8a942018-08-29 17:37:19 +053056
57# This matrix should be in column major order, per SurfaceFlinger requirement
58# 1.16868 -0.16868 0.00000
59# -0.03155 1.03155 0.00000
60# -0.01473 -0.05899 1.07372
61PRODUCT_PROPERTY_OVERRIDES += \
62 vendor.display.dataspace_saturation_matrix=1.16868,-0.03155,-0.01473,-0.16868,1.03155,-0.05899,0.00000,0.00000,1.07372