From 2b93fe3d6966bc83588bd988a02a7e5e56b84546 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Sat, 15 Oct 2022 03:16:49 +0000 Subject: [PATCH] system: perf: Enable pre-rendering feature on all targets This is not 5.4+ specific, it just depends on SurfaceFlinger and friends. Change-Id: Iafca16bce6e15feed54eab1df42315696999efac --- vendor/perf/qti-perf.mk | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/vendor/perf/qti-perf.mk b/vendor/perf/qti-perf.mk index bf320f0a..6bac9d37 100644 --- a/vendor/perf/qti-perf.mk +++ b/vendor/perf/qti-perf.mk @@ -51,8 +51,9 @@ endif PRODUCT_VENDOR_PROPERTIES += \ ro.vendor.perf-hal.ver=2.2 \ ro.vendor.extension_library=libqti-perfd-client.so \ - vendor.power.pasr.enabled=true \ - ro.vendor.qspm.enable=true + ro.vendor.perf.scroll_opt=true \ + ro.vendor.qspm.enable=true \ + vendor.power.pasr.enabled=true ifeq ($(call is-board-platform-in-list, kona lahaina parrot taro),true) PRODUCT_VENDOR_PROPERTIES += \ @@ -70,10 +71,5 @@ 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)