blob: 2c45cff02fc2021ab27e3fe00063cf99d6f612ee [file] [log] [blame]
#Display related packages and configuration
PRODUCT_PACKAGES += \
android.hardware.graphics.composer@2.1-impl \
android.hardware.graphics.composer@2.1-service \
android.hardware.graphics.mapper@2.0-impl-qti-display \
vendor.qti.hardware.display.allocator@1.0-service \
android.hardware.memtrack@1.0-impl \
android.hardware.memtrack@1.0-service \
android.hardware.light@2.0-impl \
android.hardware.light@2.0-service \
gralloc.msmnile \
lights.msmnile \
hwcomposer.msmnile \
memtrack.msmnile \
libqdutils \
libqdMetaData \
libqdMetaData.system
#QDCM calibration xml file for 2k panel
PRODUCT_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
#QDCM calibration xml file for 4k panel
PRODUCT_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
#Enable Charging Icon
TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888
TARGET_USES_GRALLOC1 := true
TARGET_USES_DRM_PP := true
TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 2
TARGET_USES_HWC2 := true
TARGET_USES_QCOM_DISPLAY_BSP := true
TARGET_USES_COLOR_METADATA := true
PRODUCT_PROPERTY_OVERRIDES += \
persist.demo.hdmirotationlock=false \
debug.sf.hw=0 \
debug.egl.hw=0 \
debug.sf.latch_unsignaled=1 \
debug.mdpcomp.logs=0 \
debug.sf.enable_hwc_vds=1 \
ro.sf.disable_triple_buffer=0 \
ro.vendor.display.cabl=2 \
vendor.gralloc.disable_ubwc=0 \
vendor.display.disable_scaler=0 \
vendor.display.disable_inline_rotator=1 \
vendor.display.disable_decimation=1 \
vendor.display.enable_null_display=0 \
vendor.display.disable_excl_rect=0 \
vendor.display.comp_mask=0 \
vendor.display.disable_hw_recovery=1 \
vendor.display.enable_default_color_mode=1