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:
parent
5aa1f6bdb2
commit
400509afa4
2 changed files with 6 additions and 0 deletions
2
configs/perf/perf-profile0.conf
Normal file
2
configs/perf/perf-profile0.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
[priority] # This profile is reserved for perflock requests
|
||||
99
|
|
@ -343,6 +343,10 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_PACKAGES += \
|
||||
libjson
|
||||
|
||||
# QTI Performance
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(COMMON_PATH)/configs/perf/perf-profile0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perf-profile0.conf
|
||||
|
||||
# RCS
|
||||
PRODUCT_PACKAGES += \
|
||||
rcs_service_aidl \
|
||||
|
|
Loading…
Reference in a new issue