sdm660-common: Add dummy perf profile.

Since lineageos 15.1 the power hal doesn't use the
perf_lock_use_profile() method anymore.
It was used to apply performance profiles.
On startup the perfd daemon is looking for at least
one profile which is used as default.
So there is only a perf-profiles0.conf to make the
daemon happy.
Removes log spam:
E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
Signed-off-by: Atman <masteratman@gmail.com>
This commit is contained in:
Quallenauge 2019-05-31 18:07:08 +00:00 committed by Max Weffers
parent 5aa1f6bdb2
commit 400509afa4
No known key found for this signature in database
GPG key ID: 795F73D22FB93FAE
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,2 @@
[priority] # This profile is reserved for perflock requests
99

View file

@ -343,6 +343,10 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libjson libjson
# QTI Performance
PRODUCT_COPY_FILES += \
$(COMMON_PATH)/configs/perf/perf-profile0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perf-profile0.conf
# RCS # RCS
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
rcs_service_aidl \ rcs_service_aidl \