Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 1 | # Display product definitions |
| 2 | PRODUCT_PACKAGES += \ |
Tharaga Balachandran | 887bed4 | 2019-09-26 19:17:58 -0400 | [diff] [blame] | 3 | android.hardware.graphics.mapper@3.0-impl-qti-display \ |
Tharaga Balachandran | 0a6dfc4 | 2020-01-08 17:17:56 -0500 | [diff] [blame] | 4 | android.hardware.graphics.mapper@4.0-impl-qti-display \ |
Tharaga Balachandran | d3331da | 2019-06-06 11:33:29 -0400 | [diff] [blame] | 5 | vendor.qti.hardware.display.allocator-service \ |
Rajavenu Kyatham | 8193f74 | 2019-06-11 19:19:02 +0530 | [diff] [blame] | 6 | vendor.qti.hardware.display.composer-service \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 7 | android.hardware.memtrack@1.0-impl \ |
| 8 | android.hardware.memtrack@1.0-service \ |
Naseer Ahmed | 082f228 | 2019-04-15 19:49:29 -0400 | [diff] [blame] | 9 | gralloc.$(TARGET_BOARD_PLATFORM) \ |
| 10 | lights.$(TARGET_BOARD_PLATFORM) \ |
| 11 | hwcomposer.$(TARGET_BOARD_PLATFORM) \ |
| 12 | memtrack.$(TARGET_BOARD_PLATFORM) \ |
Alex Sarraf | 6555fbf | 2019-09-27 10:45:45 -0700 | [diff] [blame] | 13 | libsdmcore \ |
| 14 | libsdmutils \ |
Ravikanth Tuniki | abe9d8d | 2019-04-01 10:15:54 -0700 | [diff] [blame] | 15 | libqdMetaData \ |
Ramakant Singh | f4d170f | 2019-05-27 15:27:26 +0530 | [diff] [blame] | 16 | libdisplayconfig.vendor \ |
Naseer Ahmed | f9ece75 | 2019-10-04 15:22:13 -0400 | [diff] [blame] | 17 | vendor.qti.hardware.display.mapper@2.0.vendor \ |
| 18 | vendor.qti.hardware.display.mapper@3.0.vendor \ |
Tharaga Balachandran | 0a6dfc4 | 2020-01-08 17:17:56 -0500 | [diff] [blame] | 19 | vendor.qti.hardware.display.mapper@4.0.vendor \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 20 | modetest |
| 21 | |
| 22 | #QDCM calibration xml file for 2k panel |
| 23 | 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 |
| 24 | 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 |
| 25 | #QDCM calibration xml file for 4k panel |
| 26 | 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 |
| 27 | 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 |
| 28 | #QDCM calibration xml file for amoled panel |
| 29 | 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 |
| 30 | 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 |
Qing Huang | 04de030 | 2019-05-16 15:04:42 +0800 | [diff] [blame] | 31 | 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_boe_fhd+_panel_with_DSC.xml |
| 32 | #QDCM calibration xml file for dual panel |
| 33 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_sharp_1080p_cmd_mode_dsi_panel.xml |
| 34 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt35695b_truly_fhd_command_mode_dsi_panel.xml |
Renchao Liu | 6b836a6 | 2019-11-11 10:08:49 +0800 | [diff] [blame] | 35 | #QDCM calibration xml file for td4330 panel |
| 36 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_bengal_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4330_v2_cmd_mode_dsi_truly_panel.xml |
| 37 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_bengal_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_td4330_v2_video_mode_dsi_truly_panel.xml |
Renchao Liu | d1f7de8 | 2019-11-21 15:22:08 +0800 | [diff] [blame] | 38 | #QDCM calibration xml file for Sharp fhd panel |
| 39 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_fhd_cmd_mode_qsync_dsi_panel.xml |
| 40 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_fhd_video_mode_qsync_dsi_panel.xml |
| 41 | #QDCM calibration xml file for Sharp 2k panel |
| 42 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_2k_cmd_mode_qsync_dsi_panel.xml |
| 43 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_Sharp_2k_video_mode_qsync_dsi_panel.xml |
Renchao Liu | 3873de9 | 2020-03-21 09:10:36 +0800 | [diff] [blame] | 44 | #QDCM calibration xml file for r66451 amoled panel |
| 45 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_cmd_mode_dsi_visionox_panel_with_DSC.xml |
| 46 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_cmd_mode_dsi_visionox_60HZ_panel_with_DSC.xml |
| 47 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_cmd_mode_dsi_visionox_90HZ_panel_with_DSC.xml |
| 48 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_cmd_mode_dsi_visionox_120HZ_panel_with_DSC.xml |
| 49 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_video_mode_dsi_visionox_60HZ_panel_with_DSC.xml |
| 50 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_video_mode_dsi_visionox_90HZ_panel_with_DSC.xml |
| 51 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_r66451_amoled_video_mode_dsi_visionox_120HZ_panel_with_DSC.xml |
| 52 | #QDCM calibration xml file for rm69299 amoled fhd+ panel |
| 53 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_rm69299_amoled_fhd+_video_mode_dsi_visionox_panel.xml |
| 54 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_rm69299_amoled_fhd+_cmd_mode_dsi_visionox_panel.xml |
Renchao Liu | 2d1e28a | 2020-04-14 13:52:52 +0800 | [diff] [blame] | 55 | #QDCM calibration xml file for nt36525 truly panel |
| 56 | PRODUCT_COPY_FILES += hardware/qcom/display/config/qdcm_calib_data_bengal_default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/qdcm_calib_data_nt36525_video_mode_dsi_truly_panel.xml |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 57 | |
| 58 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 59 | persist.demo.hdmirotationlock=false \ |
| 60 | persist.sys.sf.color_saturation=1.0 \ |
Naseer Ahmed | 3cd263a | 2019-05-01 14:38:27 -0400 | [diff] [blame] | 61 | persist.sys.sf.color_mode=9 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 62 | debug.sf.hw=0 \ |
| 63 | debug.egl.hw=0 \ |
| 64 | debug.sf.latch_unsignaled=1 \ |
Padmanabhan Komanduru | e7fc2cc | 2019-11-29 12:28:11 +0530 | [diff] [blame] | 65 | debug.sf.high_fps_late_app_phase_offset_ns=1000000 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 66 | debug.mdpcomp.logs=0 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 67 | vendor.gralloc.disable_ubwc=0 \ |
Alex Sarraf | 5705bcb | 2019-03-21 09:38:54 -0700 | [diff] [blame] | 68 | vendor.display.disable_scaler=0 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 69 | vendor.display.disable_excl_rect=0 \ |
Rajavenu Kyatham | 8beafb5 | 2020-01-09 12:46:05 +0530 | [diff] [blame] | 70 | vendor.display.disable_excl_rect_partial_fb=1 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 71 | vendor.display.comp_mask=0 \ |
Ray Zhang | 9bace4c | 2019-05-22 20:11:00 +0800 | [diff] [blame] | 72 | vendor.display.enable_posted_start_dyn=1 \ |
Padmanabhan Komanduru | fafa022 | 2019-03-18 14:57:56 +0530 | [diff] [blame] | 73 | vendor.display.enable_optimize_refresh=1 \ |
Sushil Chauhan | f0ff19f | 2020-04-06 16:42:04 -0700 | [diff] [blame] | 74 | vendor.display.use_smooth_motion=1 \ |
Sushil Chauhan | 1c8ea88 | 2019-07-31 13:26:04 -0700 | [diff] [blame] | 75 | |
Pullakavi Srinivas | 8ec9ab3 | 2019-12-01 13:46:22 +0530 | [diff] [blame] | 76 | # Enable offline rotator for Bengal. |
| 77 | ifneq ($(TARGET_BOARD_PLATFORM),bengal) |
| 78 | PRODUCT_PROPERTY_OVERRIDES += \ |
Ramakant Singh | 0fa5e66 | 2019-12-24 10:06:14 +0530 | [diff] [blame] | 79 | vendor.display.disable_offline_rotator=1 |
Pullakavi Srinivas | 0565463 | 2019-12-05 14:47:45 +0530 | [diff] [blame] | 80 | else |
| 81 | PRODUCT_PROPERTY_OVERRIDES += \ |
Ramakant Singh | 0fa5e66 | 2019-12-24 10:06:14 +0530 | [diff] [blame] | 82 | vendor.display.disable_rotator_ubwc=1 \ |
| 83 | vendor.display.normal_noc_efficiency_factor=0.85 \ |
Pullakavi Srinivas | 15bf07c | 2019-12-20 12:32:54 +0530 | [diff] [blame] | 84 | vendor.display.camera_noc_efficiency_factor=0.70 \ |
Pullakavi Srinivas | 028cc32 | 2020-03-30 15:44:29 +0530 | [diff] [blame] | 85 | vendor.display.disable_layer_stitch=0 \ |
Pullakavi Srinivas | 0e0c551 | 2020-04-28 17:05:23 +0530 | [diff] [blame] | 86 | vendor.display.secure_preview_buffer_format=420_sp \ |
Padmanabhan Komanduru | 099ff05 | 2020-07-20 12:38:39 +0530 | [diff] [blame] | 87 | vendor.gralloc.secure_preview_buffer_format=420_sp \ |
| 88 | debug.sf.enable_advanced_sf_phase_offset=1 \ |
| 89 | debug.sf.high_fps_late_sf_phase_offset_ns=-5000000 \ |
| 90 | debug.sf.high_fps_early_phase_offset_ns=-5000000 \ |
| 91 | debug.sf.high_fps_early_gl_phase_offset_ns=-5000000 |
Pullakavi Srinivas | 8ec9ab3 | 2019-12-01 13:46:22 +0530 | [diff] [blame] | 92 | endif |
| 93 | |
Sushil Chauhan | 1c8ea88 | 2019-07-31 13:26:04 -0700 | [diff] [blame] | 94 | ifeq ($(TARGET_BOARD_PLATFORM),kona) |
| 95 | PRODUCT_PROPERTY_OVERRIDES += \ |
Padmanabhan Komanduru | 099ff05 | 2020-07-20 12:38:39 +0530 | [diff] [blame] | 96 | debug.sf.enable_gl_backpressure=1 \ |
| 97 | debug.sf.enable_advanced_sf_phase_offset=1 \ |
| 98 | debug.sf.high_fps_late_sf_phase_offset_ns=-4000000 \ |
| 99 | debug.sf.high_fps_early_phase_offset_ns=-4000000 \ |
| 100 | debug.sf.high_fps_early_gl_phase_offset_ns=-4000000 |
Sushil Chauhan | 1c8ea88 | 2019-07-31 13:26:04 -0700 | [diff] [blame] | 101 | endif |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 102 | |
Padmanabhan Komanduru | c72032b | 2020-02-03 17:11:47 +0530 | [diff] [blame] | 103 | ifeq ($(TARGET_BOARD_PLATFORM),lito) |
| 104 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 105 | debug.sf.high_fps_late_sf_phase_offset_ns=-4000000 \ |
| 106 | debug.sf.high_fps_early_phase_offset_ns=-4000000 \ |
| 107 | debug.sf.high_fps_early_gl_phase_offset_ns=-4000000 \ |
| 108 | debug.sf.perf_fps_late_sf_phase_offset_ns=-5000000 \ |
| 109 | debug.sf.perf_fps_early_phase_offset_ns=-5000000 \ |
| 110 | debug.sf.perf_fps_early_gl_phase_offset_ns=-5000000 \ |
| 111 | debug.sf.enable_advanced_sf_phase_offset=1 |
| 112 | endif |
| 113 | |
Naseer Ahmed | e0728c6 | 2019-11-07 16:01:16 -0500 | [diff] [blame] | 114 | ifneq ($(PLATFORM_VERSION), 10) |
| 115 | PRODUCT_PROPERTY_OVERRIDES += vendor.display.enable_async_powermode=0 |
| 116 | endif |
| 117 | |
Naseer Ahmed | b84b31d | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 118 | #Set WCG properties |
| 119 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true |
| 120 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true |
| 121 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true |
| 122 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 |
Rajavenu Kyatham | 61c8829 | 2019-11-05 12:22:27 +0530 | [diff] [blame] | 123 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true |
Sushil Chauhan | 280b58a | 2020-04-24 15:09:48 -0700 | [diff] [blame] | 124 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_touch_timer_ms=200 |
Naseer Ahmed | b84b31d | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 125 | |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 126 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 127 | # Recovery is enabled, logging is enabled |
| 128 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 129 | vendor.display.disable_hw_recovery_dump=0 |
| 130 | else |
| 131 | # Recovery is enabled, logging is disabled |
| 132 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 133 | vendor.display.disable_hw_recovery_dump=1 |
| 134 | endif |
| 135 | |
Alex Sarraf | 51797cd | 2019-03-01 10:03:54 -0800 | [diff] [blame] | 136 | QMAA_ENABLED_HAL_MODULES += display |
| 137 | ifeq ($(TARGET_USES_QMAA),true) |
| 138 | ifeq ($(TARGET_USES_QMAA_OVERRIDE_DISPLAY),true) |
| 139 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 140 | vendor.display.enable_null_display=0 |
| 141 | else |
Naseer Ahmed | f475369 | 2019-09-17 13:51:36 -0400 | [diff] [blame] | 142 | TARGET_IS_HEADLESS := true |
Alex Sarraf | 51797cd | 2019-03-01 10:03:54 -0800 | [diff] [blame] | 143 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 144 | vendor.display.enable_null_display=1 |
| 145 | endif |
| 146 | endif |
| 147 | |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 148 | # Properties using default value: |
| 149 | # vendor.display.disable_hw_recovery=0 |