From 9127fefa9a6782a94c8e279fbc6be93c945d701c Mon Sep 17 00:00:00 2001 From: Sergey Volk Date: Thu, 15 Feb 2024 00:43:35 +0000 Subject: [PATCH] Add missing sysprops for zumapro We need to set sysprops debug.sf.hwc_hotplug_error_via_neg_vsync and debug.sf.hwc_hdcp_via_neg_vsync on zumapro devices so SurfaceFlinger would properly handle specially-crafted onVsync calls with negative parameter values that HWC makes to pass hotplug error info and HDCP status info. Bug: 324953626 Test: tested DisplayPort error propagation Change-Id: Ice36756154a9091419a41019dc51b187205e9187 --- device.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/device.mk b/device.mk index 22d6529..7d2095b 100644 --- a/device.mk +++ b/device.mk @@ -710,6 +710,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.sf.duration=16600000 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.earlyGl.app.duration=16600000 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.frame_rate_multiple_threshold=120 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.treat_170m_as_sRGB=1 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.hwc_hotplug_error_via_neg_vsync=1 +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += debug.sf.hwc_hdcp_via_neg_vsync=1 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.enable_layer_caching=true PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms?=80