common: perf: Disable the IOP HAL for select platforms.
Change-Id: Iabf70c3d8e94e10f64e7eb8e9afa47dfc562d9c4
This commit is contained in:
parent
7214c54fe1
commit
fa704878e0
|
@ -28,6 +28,12 @@ PRODUCT_COPY_FILES += \
|
|||
$(foreach file,$(wildcard $(LOCAL_PATH)/perf/configs/$(TARGET_BOARD_PLATFORM)/pwr/*),$(file):$(TARGET_COPY_OUT_VENDOR)/etc/pwr/$(notdir $(file))) \
|
||||
$(foreach file,$(wildcard $(LOCAL_PATH)/perf/configs/$(TARGET_BOARD_PLATFORM)/msm_irqbalance.conf),$(file):$(TARGET_COPY_OUT_VENDOR)/etc/$(notdir $(file)))
|
||||
|
||||
# Disable IOP HAL for select platforms.
|
||||
ifeq ($(call is-board-platform-in-list, msm8937 msm8953 msm8998 qcs605 sdm660 sdm710),true)
|
||||
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
|
||||
|
||||
# Packages
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.thermal@2.0 \
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# 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 iop-hal-2-0 /vendor/bin/hw/vendor.qti.hardware.iop@2.0-service
|
||||
override
|
||||
class hal
|
||||
user root
|
||||
group root readproc
|
||||
disabled
|
Loading…
Reference in New Issue