caimito: powerhint: Use the same hints as zuma for baseline.

Use the latest udc-qpr-dev p23 zuma powerhints.
Support selecting different powerhints json file for prototype
and production devices.

Bug: 300108936
Test: diff the powerhints json files.
Change-Id: I05eb8451b27e618a92700a85c11ba70c164ad82f
This commit is contained in:
guibing 2023-09-26 23:26:15 +00:00
parent 0c5b56b562
commit 8b283b6829
7 changed files with 8476 additions and 1 deletions

View file

@ -4,6 +4,9 @@ import /vendor/etc/init/hw/init.zumapro.rc
on init && property:ro.vendor.factory=1
import /vendor/etc/init/hw/init.factory.rc
on init && property:ro.boot.hardware.platform=zuma
setprop vendor.powerhal.config powerhint-proto.json
on init
# eSE streset tool name
setprop persist.vendor.se.streset libstreset24

View file

@ -4,6 +4,9 @@ import /vendor/etc/init/hw/init.zumapro.rc
on init && property:ro.vendor.factory=1
import /vendor/etc/init/hw/init.factory.rc
on init && property:ro.boot.hardware.platform=zuma
setprop vendor.powerhal.config powerhint-proto.json
on init
# eSE streset tool name
setprop persist.vendor.se.streset libstreset24

View file

@ -4,6 +4,9 @@ import /vendor/etc/init/hw/init.zumapro.rc
on init && property:ro.vendor.factory=1
import /vendor/etc/init/hw/init.factory.rc
on init && property:ro.boot.hardware.platform=zuma
setprop vendor.powerhal.config powerhint-proto.json
on init
# eSE streset tool name
setprop persist.vendor.se.streset libstreset24

View file

@ -30,4 +30,5 @@ TARGET_VENDOR_PERF_CONFIG_PATH := device/google/caimito/perf
endif
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json \
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-$(TARGET_DEVICE)-proto.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-proto.json

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff