1#Display related packages and configuration
2
3PRODUCT_PACKAGES += \
4    android.hardware.graphics.composer@2.1-impl \
5    android.hardware.graphics.composer@2.1-service \
6    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    modetest \
13    gralloc.sdm845 \
14    lights.sdm845 \
15    hwcomposer.sdm845 \
16    memtrack.sdm845 \
17    libqdutils \
18    libqdMetaData \
19    libqdMetaData.system
20
21
22TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
23NUM_FRAMEBUFFER_SURFACE_BUFFERS := 2
24#Enable Charging Icon
25TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
26TARGET_USES_GRALLOC1 := true
27TARGET_USES_HWC2 := true
28TARGET_USES_QCOM_DISPLAY_BSP := true
29TARGET_USES_COLOR_METADATA := true
30TARGET_USES_DRM_PP := true
31
32PRODUCT_PROPERTY_OVERRIDES += \
33    debug.sf.enable_hwc_vds=0 \
34    persist.demo.hdmirotationlock=false \
35    ro.vendor.display.cabl=2 \
36    debug.sf.latch_unsignaled=1 \
37
38PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
39    ro.surface_flinger.max_virtual_display_dimension=4096
40
41# This matrix should be in column major order, per SurfaceFlinger requirement
42#  1.16868   -0.16868    0.00000
43# -0.03155    1.03155    0.00000
44# -0.01473   -0.05899    1.07372
45PRODUCT_PROPERTY_OVERRIDES += \
46    vendor.display.dataspace_saturation_matrix=1.16868,-0.03155,-0.01473,-0.16868,1.03155,-0.05899,0.00000,0.00000,1.07372
47
48