Unverified Commit 78b49711 authored by Alexander Koskovich's avatar Alexander Koskovich
Browse files

common: perf: Add the poweropt service back.

Change-Id: I2f4d083e159041b12a0864fb7ce3f44b08747988
parent f464fcff
# Copyright (C) 2021 Paranoid Android
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
service poweropt-service /vendor/bin/poweropt-service
override
class main
user root
group system
disabled
......@@ -58,11 +58,15 @@ vendor/bin/hw/vendor.qti.hardware.servicetracker@1.2-service
vendor/bin/hw/vendor.qti.memory.pasrmanager@1.0-service
vendor/bin/hw/vendor.qti.psiclient@1.0-service
vendor/bin/msm_irqbalance
vendor/bin/poweropt-service
vendor/etc/init/poweropt-service.rc
vendor/etc/init/vendor.qti.hardware.iop@2.0-service.rc
vendor/etc/init/vendor.qti.hardware.perf@2.2-service.rc
vendor/etc/init/vendor.qti.hardware.servicetracker@1.2-service.rc
vendor/etc/init/vendor.qti.memory.pasrmanager@1.0-service.rc
vendor/etc/init/vendor.qti.psiclient@1.0-service.rc
vendor/etc/pwr/PowerFeatureConfig.xml
vendor/etc/pwr/VideoPowerOptFeature.xml
-vendor/etc/vintf/manifest/vendor.qti.hardware.servicetracker@1.2-service.xml
-vendor/etc/vintf/manifest/vendor.qti.memory.pasrmanager@1.0-service.xml
vendor/lib/hw/vendor.qti.hardware.servicetracker@1.2-impl.so
......@@ -100,6 +104,8 @@ vendor/lib64/libpasrutils.so
vendor/lib64/libperfconfig.so
vendor/lib64/libperfgluelayer.so
vendor/lib64/libperfioctl.so
vendor/lib64/libpowercallback.so
vendor/lib64/libpowercore.so
vendor/lib64/libprekill.so
vendor/lib64/libqti-iopd.so
vendor/lib64/libqti-iopd-client.so
......
......@@ -31,6 +31,12 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/perf/vendor.qti.hardware.iop@2.0-service-disable.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/vendor.qti.hardware.iop@2.0-service-disable.rc
endif
# Disable the poweropt service for non 5.4 platforms.
ifneq ($(TARGET_KERNEL_VERSION),5.4)
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/perf/poweropt-service-disable.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/poweropt-service-disable.rc
endif
# Packages
PRODUCT_PACKAGES += \
android.hardware.thermal@2.0 \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment