From 52bcc2dcc143d4523037839ab7c315827c6cbd7f Mon Sep 17 00:00:00 2001 From: Midas Chien Date: Tue, 28 Apr 2020 13:25:30 +0800 Subject: [PATCH] redfin: add display fps deferral The FPS deferral property allows deferring clock/bandwidth votes when switching from high refresh rate to low in case hardware takes some extra time to change refresh rate. Bug: 152468927 Bug: 154607334 Test: 60/90 switching, no noise line Test: systrace to check vsync period Change-Id: I47284578d13c203b14b3213081faf258dd9a542b --- device-redfin.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/device-redfin.mk b/device-redfin.mk index 9362f99..a9b6a5f 100644 --- a/device-redfin.mk +++ b/device-redfin.mk @@ -177,5 +177,8 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_touch_timer_ms=200 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_display_power_timer_ms=1000 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_content_detection_for_refresh_rate=true +PRODUCT_PROPERTY_OVERRIDES += \ + vendor.display.defer_fps_frame_count=2 + # Keyboard height ratio PRODUCT_PRODUCT_PROPERTIES += ro.com.google.ime.height_ratio=1.2