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 | d3331da | 2019-06-06 11:33:29 -0400 | [diff] [blame] | 4 | vendor.qti.hardware.display.allocator-service \ |
Rajavenu Kyatham | 8193f74 | 2019-06-11 19:19:02 +0530 | [diff] [blame] | 5 | vendor.qti.hardware.display.composer-service \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 6 | android.hardware.memtrack@1.0-impl \ |
| 7 | android.hardware.memtrack@1.0-service \ |
| 8 | android.hardware.light@2.0-impl \ |
| 9 | android.hardware.light@2.0-service \ |
Naseer Ahmed | 082f228 | 2019-04-15 19:49:29 -0400 | [diff] [blame] | 10 | gralloc.$(TARGET_BOARD_PLATFORM) \ |
| 11 | lights.$(TARGET_BOARD_PLATFORM) \ |
| 12 | hwcomposer.$(TARGET_BOARD_PLATFORM) \ |
| 13 | memtrack.$(TARGET_BOARD_PLATFORM) \ |
Alex Sarraf | 6555fbf | 2019-09-27 10:45:45 -0700 | [diff] [blame] | 14 | libsdmcore \ |
| 15 | libsdmutils \ |
Ravikanth Tuniki | abe9d8d | 2019-04-01 10:15:54 -0700 | [diff] [blame] | 16 | libqdMetaData \ |
Ramakant Singh | f4d170f | 2019-05-27 15:27:26 +0530 | [diff] [blame] | 17 | libdisplayconfig.vendor \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 18 | vendor.display.config@1.0.vendor \ |
| 19 | vendor.display.config@1.1.vendor \ |
| 20 | vendor.display.config@1.2.vendor \ |
| 21 | vendor.display.config@1.3.vendor \ |
| 22 | vendor.display.config@1.4.vendor \ |
| 23 | vendor.display.config@1.5.vendor \ |
Ramkumar Radhakrishnan | 2f8ebf4 | 2019-02-28 16:50:08 -0800 | [diff] [blame] | 24 | vendor.display.config@1.6.vendor \ |
| 25 | vendor.display.config@1.7.vendor \ |
| 26 | vendor.display.config@1.8.vendor \ |
Archit Srivastava | a59c4ff | 2019-05-20 10:54:22 +0530 | [diff] [blame] | 27 | vendor.display.config@1.9.vendor \ |
Dileep Marchya | afa45bc | 2019-06-21 17:05:31 +0530 | [diff] [blame] | 28 | vendor.display.config@1.10.vendor \ |
Sushil Chauhan | 1566a13 | 2019-10-02 11:59:28 -0700 | [diff] [blame] | 29 | vendor.display.config@1.11.vendor \ |
| 30 | vendor.display.config@1.12.vendor \ |
Padmanabhan Komanduru | f5b7f99 | 2019-07-08 13:33:44 +0530 | [diff] [blame] | 31 | vendor.display.config@1.13.vendor \ |
Naseer Ahmed | f9ece75 | 2019-10-04 15:22:13 -0400 | [diff] [blame] | 32 | vendor.qti.hardware.display.mapper@2.0.vendor \ |
| 33 | vendor.qti.hardware.display.mapper@3.0.vendor \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 34 | modetest |
| 35 | |
| 36 | #QDCM calibration xml file for 2k panel |
| 37 | 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 |
| 38 | 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 |
| 39 | #QDCM calibration xml file for 4k panel |
| 40 | 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 |
| 41 | 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 |
| 42 | #QDCM calibration xml file for amoled panel |
| 43 | 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 |
| 44 | 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] | 45 | 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 |
| 46 | #QDCM calibration xml file for dual panel |
| 47 | 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 |
| 48 | 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] | 49 | #QDCM calibration xml file for td4330 panel |
| 50 | 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 |
| 51 | 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] | 52 | #QDCM calibration xml file for Sharp fhd panel |
| 53 | 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 |
| 54 | 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 |
| 55 | #QDCM calibration xml file for Sharp 2k panel |
| 56 | 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 |
| 57 | 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 |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 58 | |
| 59 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 60 | persist.demo.hdmirotationlock=false \ |
| 61 | persist.sys.sf.color_saturation=1.0 \ |
Naseer Ahmed | 3cd263a | 2019-05-01 14:38:27 -0400 | [diff] [blame] | 62 | persist.sys.sf.color_mode=9 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 63 | debug.sf.hw=0 \ |
| 64 | debug.egl.hw=0 \ |
| 65 | debug.sf.latch_unsignaled=1 \ |
| 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 \ |
Manoj Kumar AVM | be7f324 | 2019-08-05 19:35:47 -0700 | [diff] [blame] | 69 | vendor.display.disable_offline_rotator=1 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 70 | vendor.display.disable_excl_rect=0 \ |
| 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 | 1c8ea88 | 2019-07-31 13:26:04 -0700 | [diff] [blame] | 74 | vendor.display.use_smooth_motion=1 |
| 75 | |
| 76 | ifeq ($(TARGET_BOARD_PLATFORM),kona) |
| 77 | PRODUCT_PROPERTY_OVERRIDES += \ |
Padmanabhan Komanduru | d276e8e | 2019-11-21 16:23:17 +0530 | [diff] [blame] | 78 | debug.sf.enable_gl_backpressure=1 \ |
Sushil Chauhan | ab7c357 | 2019-06-27 18:37:35 -0700 | [diff] [blame] | 79 | debug.sf.early_phase_offset_ns=500000 \ |
| 80 | debug.sf.early_app_phase_offset_ns=500000 \ |
| 81 | debug.sf.early_gl_phase_offset_ns=3000000 \ |
| 82 | debug.sf.early_gl_app_phase_offset_ns=15000000 \ |
| 83 | debug.sf.high_fps_early_phase_offset_ns=6100000 \ |
Sushil Chauhan | cd4dde9 | 2019-11-11 21:51:22 -0800 | [diff] [blame] | 84 | debug.sf.high_fps_early_gl_phase_offset_ns=6500000 \ |
Sushil Chauhan | d0fc4f8 | 2019-10-16 17:08:34 -0700 | [diff] [blame] | 85 | debug.sf.high_fps_late_app_phase_offset_ns=1000000 \ |
Sushil Chauhan | ab7c357 | 2019-06-27 18:37:35 -0700 | [diff] [blame] | 86 | debug.sf.phase_offset_threshold_for_next_vsync_ns=6100000 |
Sushil Chauhan | 1c8ea88 | 2019-07-31 13:26:04 -0700 | [diff] [blame] | 87 | endif |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 88 | |
Naseer Ahmed | e0728c6 | 2019-11-07 16:01:16 -0500 | [diff] [blame] | 89 | ifneq ($(PLATFORM_VERSION), 10) |
| 90 | PRODUCT_PROPERTY_OVERRIDES += vendor.display.enable_async_powermode=0 |
| 91 | endif |
| 92 | |
Naseer Ahmed | b84b31d | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 93 | #Set WCG properties |
| 94 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true |
| 95 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true |
| 96 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true |
| 97 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 |
Rajavenu Kyatham | 61c8829 | 2019-11-05 12:22:27 +0530 | [diff] [blame] | 98 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.protected_contents=true |
Naseer Ahmed | b84b31d | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 99 | |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 100 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 101 | # Recovery is enabled, logging is enabled |
| 102 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 103 | vendor.display.disable_hw_recovery_dump=0 |
| 104 | else |
| 105 | # Recovery is enabled, logging is disabled |
| 106 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 107 | vendor.display.disable_hw_recovery_dump=1 |
| 108 | endif |
| 109 | |
Alex Sarraf | 51797cd | 2019-03-01 10:03:54 -0800 | [diff] [blame] | 110 | QMAA_ENABLED_HAL_MODULES += display |
| 111 | ifeq ($(TARGET_USES_QMAA),true) |
| 112 | ifeq ($(TARGET_USES_QMAA_OVERRIDE_DISPLAY),true) |
| 113 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 114 | vendor.display.enable_null_display=0 |
| 115 | else |
Naseer Ahmed | f475369 | 2019-09-17 13:51:36 -0400 | [diff] [blame] | 116 | TARGET_IS_HEADLESS := true |
Alex Sarraf | 51797cd | 2019-03-01 10:03:54 -0800 | [diff] [blame] | 117 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 118 | vendor.display.enable_null_display=1 |
| 119 | endif |
| 120 | endif |
| 121 | |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 122 | # Properties using default value: |
| 123 | # vendor.display.disable_hw_recovery=0 |