From 10ae8c001f84ffba3d81b29c250a4292cb10563d Mon Sep 17 00:00:00 2001 From: Sergey Volk Date: Wed, 13 Sep 2023 21:51:54 +0000 Subject: [PATCH] DO NOT MERGE displayport: Move displayport configuration to device. Move displayport configuration to device level makefile. Test: manual (check /sys/module/exynos_drm/parameters/dp_enabled) Bug: 300167292 Change-Id: I0952aa33307fa2b97868842b54b5ab244b990465 --- device-akita.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/device-akita.mk b/device-akita.mk index 48d616e..3c16f91 100644 --- a/device-akita.mk +++ b/device-akita.mk @@ -303,3 +303,11 @@ PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \ ro.com.google.ime.kb_pad_port_b=4.19 \ ro.com.google.ime.height_ratio=1.1 + +ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) +PRODUCT_VENDOR_PROPERTIES += \ + persist.vendor.usb.displayport.enabled=1 +else +PRODUCT_VENDOR_PROPERTIES += \ + persist.vendor.usb.displayport.enabled=0 +endif