Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 1 | # Display product definitions |
| 2 | PRODUCT_PACKAGES += \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 3 | android.hardware.graphics.mapper@2.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 | 42d11cb | 2019-04-16 13:03:29 +0530 | [diff] [blame^] | 5 | vendor.qti.hardware.display.composer@1.0-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) \ |
Ravikanth Tuniki | abe9d8d | 2019-04-01 10:15:54 -0700 | [diff] [blame] | 14 | libqdMetaData \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 15 | vendor.display.config@1.0.vendor \ |
| 16 | vendor.display.config@1.1.vendor \ |
| 17 | vendor.display.config@1.2.vendor \ |
| 18 | vendor.display.config@1.3.vendor \ |
| 19 | vendor.display.config@1.4.vendor \ |
| 20 | vendor.display.config@1.5.vendor \ |
Ramkumar Radhakrishnan | 2f8ebf4 | 2019-02-28 16:50:08 -0800 | [diff] [blame] | 21 | vendor.display.config@1.6.vendor \ |
| 22 | vendor.display.config@1.7.vendor \ |
| 23 | vendor.display.config@1.8.vendor \ |
Archit Srivastava | a59c4ff | 2019-05-20 10:54:22 +0530 | [diff] [blame] | 24 | vendor.display.config@1.9.vendor \ |
Naseer Ahmed | 726b5d3 | 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 |
Qing Huang | 04de030 | 2019-05-16 15:04:42 +0800 | [diff] [blame] | 36 | 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 |
| 37 | #QDCM calibration xml file for dual panel |
| 38 | 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 |
| 39 | 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 |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 40 | |
| 41 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 42 | persist.demo.hdmirotationlock=false \ |
| 43 | persist.sys.sf.color_saturation=1.0 \ |
| 44 | debug.sf.hw=0 \ |
| 45 | debug.egl.hw=0 \ |
| 46 | debug.sf.latch_unsignaled=1 \ |
| 47 | debug.mdpcomp.logs=0 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 48 | vendor.gralloc.disable_ubwc=0 \ |
Alex Sarraf | 5705bcb | 2019-03-21 09:38:54 -0700 | [diff] [blame] | 49 | vendor.display.disable_scaler=0 \ |
Alex Sarraf | 51797cd | 2019-03-01 10:03:54 -0800 | [diff] [blame] | 50 | vendor.display.disable_offline_rotator=1 \ |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 51 | vendor.display.disable_excl_rect=0 \ |
| 52 | vendor.display.comp_mask=0 \ |
Ray Zhang | 9bace4c | 2019-05-22 20:11:00 +0800 | [diff] [blame] | 53 | vendor.display.enable_posted_start_dyn=1 \ |
| 54 | vendor.display.use_smooth_motion=1 |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 55 | |
Naseer Ahmed | b84b31d | 2019-02-28 19:36:23 -0500 | [diff] [blame] | 56 | #Set WCG properties |
| 57 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true |
| 58 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true |
| 59 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true |
| 60 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696 |
| 61 | |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 62 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 63 | # Recovery is enabled, logging is enabled |
| 64 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 65 | vendor.display.disable_hw_recovery_dump=0 |
| 66 | else |
| 67 | # Recovery is enabled, logging is disabled |
| 68 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 69 | vendor.display.disable_hw_recovery_dump=1 |
| 70 | endif |
| 71 | |
Alex Sarraf | 51797cd | 2019-03-01 10:03:54 -0800 | [diff] [blame] | 72 | QMAA_ENABLED_HAL_MODULES += display |
| 73 | ifeq ($(TARGET_USES_QMAA),true) |
| 74 | ifeq ($(TARGET_USES_QMAA_OVERRIDE_DISPLAY),true) |
| 75 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 76 | vendor.display.enable_null_display=0 |
| 77 | else |
| 78 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 79 | vendor.display.enable_null_display=1 |
| 80 | endif |
| 81 | endif |
| 82 | |
Naseer Ahmed | 726b5d3 | 2018-12-18 15:48:41 -0500 | [diff] [blame] | 83 | # Properties using default value: |
| 84 | # vendor.display.disable_hw_recovery=0 |