From 70690661df34a2e78d68babe826d2221170bfbb6 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Sat, 24 Sep 2022 03:05:48 +0000 Subject: [PATCH] Revert "Revert "common: perf: Enable the pre-rendering feature."" This should be fixed by https://git.codelinaro.org/clo/la/platform/frameworks/base/-/commit/7d7ab89f2859642edf2fbe24b91e4d153a6ea88e This reverts commit f4e58c414b72c2712d3f1e15bdc98cb1afbacfee. Change-Id: If3c04a11d9f8d7595fd646233ee616ed1d38d0ed --- vendor/perf/qti-perf.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vendor/perf/qti-perf.mk b/vendor/perf/qti-perf.mk index 8d1f1335..691a897a 100644 --- a/vendor/perf/qti-perf.mk +++ b/vendor/perf/qti-perf.mk @@ -70,5 +70,10 @@ PRODUCT_VENDOR_PROPERTIES += vendor.pasr.activemode.enabled=true endif endif +ifeq ($(TARGET_KERNEL_VERSION),5.4) +PRODUCT_PROPERTY_OVERRIDES += \ + ro.vendor.perf.scroll_opt=true +endif + # Get non-open-source specific aspects $(call inherit-product-if-exists, vendor/qcom/common/vendor/perf/perf-vendor.mk)