Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 1 | # Display product definitions |
| 2 | PRODUCT_PACKAGES += \ |
Naseer Ahmed | bbb3b3b | 2018-11-22 14:06:47 -0500 | [diff] [blame] | 3 | android.hardware.graphics.composer@2.3-impl \ |
| 4 | android.hardware.graphics.composer@2.3-service \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 5 | android.hardware.graphics.mapper@2.0-impl-qti-display \ |
| 6 | vendor.qti.hardware.display.allocator@1.0-service \ |
| 7 | android.hardware.memtrack@1.0-impl \ |
| 8 | android.hardware.memtrack@1.0-service \ |
| 9 | android.hardware.light@2.0-impl \ |
| 10 | android.hardware.light@2.0-service \ |
| 11 | gralloc.qcom \ |
| 12 | lights.qcom \ |
| 13 | hwcomposer.qcom \ |
| 14 | memtrack.qcom \ |
| 15 | libqdMetaData.vendor \ |
| 16 | vendor.display.config@1.0.vendor \ |
| 17 | vendor.display.config@1.1.vendor \ |
| 18 | vendor.display.config@1.2.vendor \ |
| 19 | vendor.display.config@1.3.vendor \ |
| 20 | vendor.display.config@1.4.vendor \ |
| 21 | vendor.display.config@1.5.vendor \ |
Ramkumar Radhakrishnan | d98f076 | 2019-02-28 16:50:08 -0800 | [diff] [blame^] | 22 | vendor.display.config@1.6.vendor \ |
| 23 | vendor.display.config@1.7.vendor \ |
| 24 | vendor.display.config@1.8.vendor \ |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 25 | modetest |
| 26 | |
| 27 | #QDCM calibration xml file for 2k panel |
| 28 | 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 |
| 29 | 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_video_mode_dsi_truly_panel_with_DSC.xml |
| 30 | #QDCM calibration xml file for 4k panel |
| 31 | 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 |
| 32 | 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_video_mode_dsc_dsi_panel.xml |
| 33 | #QDCM calibration xml file for amoled panel |
| 34 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml |
| 35 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_sw43404_amoled_cmd_mode_dsi_boe_panel_with_DSC.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sw43404_amoled_video_mode_dsi_boe_panel_with_DSC.xml |
| 36 | |
| 37 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 38 | persist.demo.hdmirotationlock=false \ |
| 39 | persist.sys.sf.color_saturation=1.0 \ |
| 40 | debug.sf.hw=0 \ |
| 41 | debug.egl.hw=0 \ |
| 42 | debug.sf.latch_unsignaled=1 \ |
| 43 | debug.mdpcomp.logs=0 \ |
| 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 \ |
| 49 | vendor.display.enable_null_display=0 \ |
| 50 | vendor.display.disable_excl_rect=0 \ |
| 51 | vendor.display.comp_mask=0 \ |
| 52 | vendor.display.enable_default_color_mode=1 |
| 53 | |
Naseer Ahmed | a887f8a | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 54 | #Set WCG properties |
| 55 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true |
| 56 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true |
| 57 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true |
| 58 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 |
| 59 | |
Naseer Ahmed | b5c9c36 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 60 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 61 | # Recovery is enabled, logging is enabled |
| 62 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 63 | vendor.display.disable_hw_recovery_dump=0 |
| 64 | else |
| 65 | # Recovery is enabled, logging is disabled |
| 66 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 67 | vendor.display.disable_hw_recovery_dump=1 |
| 68 | endif |
| 69 | |
| 70 | # Properties using default value: |
| 71 | # vendor.display.disable_hw_recovery=0 |
| 72 | |
| 73 | # This matrix should be in column major order, per SurfaceFlinger requirement |
| 74 | # 1.0 0.0 0.0 |
| 75 | # 0.0 1.0 0.0 |
| 76 | # 0.0 0.0 1.0 |
| 77 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 78 | vendor.display.dataspace_saturation_matrix=1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0 |