blob: f607b4202e53010876db3b023d2b0545ecef9663 [file] [log] [blame]
Hari Veerubhotlaada7d872018-10-14 16:55:59 +05301#Display related packages and configuration
2
3PRODUCT_PACKAGES += \
4 android.hardware.graphics.composer@2.2-impl \
5 android.hardware.graphics.composer@2.2-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 \
Naseer Ahmed755af6b2019-04-15 19:49:29 -040012 gralloc.trinket \
13 lights.trinket \
14 hwcomposer.trinket \
15 memtrack.trinket \
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053016 libqdutils \
17 libqdMetaData \
18 libqdMetaData.system \
19 modetest
20
c_xshu4625ffb2019-04-15 18:11:18 +080021#QDCM calibration xml file base on td4330
c_xshu714d2262019-03-04 14:42:48 +080022PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_trinket_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4330_cmd_mode_dsi_truly_panel.xml
23PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_trinket_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4330_video_mode_dsi_truly_panel.xml
c_xshu4625ffb2019-04-15 18:11:18 +080024#QDCM calibration xml file base on nt36672
25PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_trinket_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt36672_truly_fhd_video_mode_dsi_panel.xml
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053026
27#Enable Charging Icon
28TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
29
30TARGET_USES_GRALLOC1 := true
31TARGET_USES_DRM_PP := true
32TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
33MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
34NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
35TARGET_USES_HWC2 := true
36TARGET_USES_QCOM_DISPLAY_BSP := true
37TARGET_USES_COLOR_METADATA := true
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053038
39PRODUCT_PROPERTY_OVERRIDES += \
40 persist.demo.hdmirotationlock=false \
Naseer Ahmed5cfc2cb2018-11-13 19:04:17 -050041 persist.sys.sf.color_saturation=1.0 \
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053042 debug.sf.hw=0 \
43 debug.egl.hw=0 \
44 debug.sf.latch_unsignaled=1 \
45 debug.mdpcomp.logs=0 \
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053046 vendor.gralloc.disable_ubwc=0 \
47 vendor.display.disable_scaler=0 \
48 vendor.display.disable_inline_rotator=1 \
49 vendor.display.disable_decimation=1 \
50 vendor.display.enable_null_display=0 \
51 vendor.display.disable_excl_rect=0 \
52 vendor.display.comp_mask=0 \
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053053 vendor.display.enable_default_color_mode=1
54
55# This matrix should be in column major order, per SurfaceFlinger requirement
Naseer Ahmedffb3b232018-11-12 16:25:30 -050056# 1.0 0.0 0.0
57# 0.0 1.0 0.0
58# 0.0 0.0 1.0
Hari Veerubhotlaada7d872018-10-14 16:55:59 +053059PRODUCT_PROPERTY_OVERRIDES += \
Naseer Ahmedffb3b232018-11-12 16:25:30 -050060 vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0