Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 1 | #Display related packages and configuration |
| 2 | |
| 3 | PRODUCT_PACKAGES += \ |
Ramakant Singh | b31d765 | 2018-10-04 18:26:28 +0530 | [diff] [blame] | 4 | android.hardware.graphics.composer@2.2-impl \ |
| 5 | android.hardware.graphics.composer@2.2-service \ |
Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 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 | gralloc.talos \ |
| 13 | lights.talos \ |
| 14 | hwcomposer.talos \ |
| 15 | memtrack.talos \ |
| 16 | libqdutils \ |
| 17 | libqdMetaData \ |
| 18 | libqdMetaData.system \ |
| 19 | modetest |
| 20 | |
Yuchao Ma | 1dd3c2c | 2018-08-30 10:49:05 +0800 | [diff] [blame] | 21 | #QDCM calibration xml file |
| 22 | 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_hx83112a_video_mode_dsi_truly_panel.xml |
Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 23 | |
| 24 | #Enable Charging Icon |
| 25 | TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 |
| 26 | |
| 27 | TARGET_USES_GRALLOC1 := true |
| 28 | TARGET_USES_DRM_PP := true |
| 29 | TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true |
| 30 | MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 |
| 31 | NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 |
| 32 | TARGET_USES_HWC2 := true |
| 33 | TARGET_USES_QCOM_DISPLAY_BSP := true |
| 34 | TARGET_USES_COLOR_METADATA := true |
Yuchao Ma | 1dd3c2c | 2018-08-30 10:49:05 +0800 | [diff] [blame] | 35 | TARGET_HAS_WIDE_COLOR_DISPLAY := true |
Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 36 | |
| 37 | PRODUCT_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 Siddappa | bf03989 | 2018-10-10 14:16:13 -0700 | [diff] [blame] | 43 | debug.sf.enable_hwc_vds=1 \ |
Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 44 | 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 Srivastava | fad3b31 | 2018-10-26 15:34:14 +0530 | [diff] [blame^] | 49 | vendor.display.disable_excl_rect_partial_fb=1 \ |
Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 50 | 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 Srinivas | 915ed09 | 2018-10-08 12:00:57 +0530 | [diff] [blame] | 54 | vendor.display.enable_default_color_mode=1 \ |
| 55 | vendor.display.drop_skewed_vsync=1 |
Ramakant Singh | 6ca8a94 | 2018-08-29 17:37:19 +0530 | [diff] [blame] | 56 | |
| 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 |
| 61 | PRODUCT_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 |