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
This commit is contained in:
Jake Weinstein 2022-10-15 03:16:49 +00:00
parent 60e5273902
commit 2b93fe3d69
1 changed files with 3 additions and 7 deletions

View File

@ -51,8 +51,9 @@ endif
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.perf-hal.ver=2.2 \ ro.vendor.perf-hal.ver=2.2 \
ro.vendor.extension_library=libqti-perfd-client.so \ ro.vendor.extension_library=libqti-perfd-client.so \
vendor.power.pasr.enabled=true \ ro.vendor.perf.scroll_opt=true \
ro.vendor.qspm.enable=true ro.vendor.qspm.enable=true \
vendor.power.pasr.enabled=true
ifeq ($(call is-board-platform-in-list, kona lahaina parrot taro),true) ifeq ($(call is-board-platform-in-list, kona lahaina parrot taro),true)
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
@ -70,10 +71,5 @@ PRODUCT_VENDOR_PROPERTIES += vendor.pasr.activemode.enabled=true
endif endif
endif endif
ifeq ($(TARGET_KERNEL_VERSION),5.4)
PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.perf.scroll_opt=true
endif
# Get non-open-source specific aspects # Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/vendor/perf/perf-vendor.mk) $(call inherit-product-if-exists, vendor/qcom/common/vendor/perf/perf-vendor.mk)