summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Weinstein <jake@aospa.co>2023-11-01 15:46:36 -0500
committeralk3pInjection <webmaster@raspii.tech>2023-12-27 00:35:28 +0800
commitfe7684447dc49a59b5b53803d5e026231f5676cd (patch)
treea1b05ccf7903ea55f4373a8205623c6ec597fa38
parentf20b8d212372efb30c4dc222db1ff01ebac13a93 (diff)
common: perf: Disable PASR
This saves less than 1 mA of power. Not worth the performance penalty. Change-Id: I1c3e0857930b01abe6ebb227cd15d231c9f78b8f
-rw-r--r--perf/qti-perf.mk13
1 files changed, 3 insertions, 10 deletions
diff --git a/perf/qti-perf.mk b/perf/qti-perf.mk
index 1f9a1eb..65ded4f 100644
--- a/perf/qti-perf.mk
+++ b/perf/qti-perf.mk
@@ -60,8 +60,9 @@ PRODUCT_PACKAGES += \
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.qspm.enable=true \
+ vendor.power.pasr.enabled=false \
+ vendor.pasr.activemode.enabled=false
ifeq ($(call is-board-platform-in-list, kona lahaina),true)
PRODUCT_VENDOR_PROPERTIES += \
@@ -71,13 +72,5 @@ PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.beluga.t=0x240
endif
-ifneq (,$(filter 4.14 4.19 5.4, $(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/perf/perf-vendor.mk)