Reland 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: Build passed;
      The expected powerhint json file was loaded in device test.
Change-Id: I65582266eb7b9aa90deabe452ea2482ba9d28118
This commit is contained in:
guibing 2023-09-26 23:26:15 +00:00
parent 0c5b56b562
commit 86752fa50e
5 changed files with 2977 additions and 0 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

@ -31,3 +31,5 @@ endif
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-$(TARGET_DEVICE).json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
PRODUCT_COPY_FILES += \
$(TARGET_VENDOR_PERF_CONFIG_PATH)/powerhint-zuma.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint-proto.json

2966
perf/powerhint-zuma.json Normal file

File diff suppressed because it is too large Load diff