From d4eebbf5c4cbf7426036af3bf8c27036b1831e59 Mon Sep 17 00:00:00 2001 From: Matthew Bouyack Date: Mon, 8 May 2017 13:14:01 -0700 Subject: Disable backpressure propagation in SurfaceFlinger for 8x09 devices. Because the msm8x09 hardware composer has a total latency of up to 30ms (from 'handleMessageInvalidate' until the image appears on the screen) backpressure propagation causes us to run at 30Hz. This change allows us to run smoothly at 60Hz. Also note that we should be able to revert this change in the event that we switch to a native HWC2.0 implementation. Fixes bug: 37941536 Change-Id: Ie045432e4de72ab59b206ae324e26d54795c9b8a --- msm8x09.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/msm8x09.mk b/msm8x09.mk index 2f50272..c3d9d98 100644 --- a/msm8x09.mk +++ b/msm8x09.mk @@ -16,4 +16,5 @@ PRODUCT_VENDOR_KERNEL_HEADERS := hardware/qcom/msm8x09/kernel-headers PRODUCT_PROPERTY_OVERRIDES += \ debug.composition.type=dyn \ debug.hwc.dynThreshold=4.5 \ - debug.sf.hwc.canUseABC=1 + debug.sf.hwc.canUseABC=1 \ + debug.sf.disable_backpressure=1 -- cgit v1.2.3