vendor: perf: Disable PASR

This saves less than 1 mA of power.
Not worth the performance penalty.

Change-Id: I1c3e0857930b01abe6ebb227cd15d231c9f78b8f
This commit is contained in:
Jake Weinstein 2023-11-01 15:46:36 -05:00
parent d1329c5aac
commit 328ccc1f06
1 changed files with 2 additions and 9 deletions

View File

@ -55,7 +55,8 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.extension_library=libqti-perfd-client.so \
ro.vendor.perf.scroll_opt=true \
ro.vendor.qspm.enable=true \
vendor.power.pasr.enabled=true
vendor.power.pasr.enabled=false \
vendor.pasr.activemode.enabled=false
ifeq ($(TARGET_KERNEL_VERSION),5.15)
PRODUCT_VENDOR_PROPERTIES += \
@ -70,13 +71,5 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.beluga.t=0x240
endif
ifneq (,$(filter 4.14 4.19 5.4 5.10 5.15, $(TARGET_KERNEL_VERSION)))
ifeq ($(TARGET_BOARD_PLATFORM), holi)
PRODUCT_VENDOR_PROPERTIES += vendor.pasr.activemode.enabled=false
else
PRODUCT_VENDOR_PROPERTIES += vendor.pasr.activemode.enabled=true
endif
endif
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/vendor/perf/perf-vendor.mk)