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:
parent
0c5b56b562
commit
86752fa50e
5 changed files with 2977 additions and 0 deletions
|
@ -4,6 +4,9 @@ import /vendor/etc/init/hw/init.zumapro.rc
|
||||||
on init && property:ro.vendor.factory=1
|
on init && property:ro.vendor.factory=1
|
||||||
import /vendor/etc/init/hw/init.factory.rc
|
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
|
on init
|
||||||
# eSE streset tool name
|
# eSE streset tool name
|
||||||
setprop persist.vendor.se.streset libstreset24
|
setprop persist.vendor.se.streset libstreset24
|
||||||
|
|
|
@ -4,6 +4,9 @@ import /vendor/etc/init/hw/init.zumapro.rc
|
||||||
on init && property:ro.vendor.factory=1
|
on init && property:ro.vendor.factory=1
|
||||||
import /vendor/etc/init/hw/init.factory.rc
|
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
|
on init
|
||||||
# eSE streset tool name
|
# eSE streset tool name
|
||||||
setprop persist.vendor.se.streset libstreset24
|
setprop persist.vendor.se.streset libstreset24
|
||||||
|
|
|
@ -4,6 +4,9 @@ import /vendor/etc/init/hw/init.zumapro.rc
|
||||||
on init && property:ro.vendor.factory=1
|
on init && property:ro.vendor.factory=1
|
||||||
import /vendor/etc/init/hw/init.factory.rc
|
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
|
on init
|
||||||
# eSE streset tool name
|
# eSE streset tool name
|
||||||
setprop persist.vendor.se.streset libstreset24
|
setprop persist.vendor.se.streset libstreset24
|
||||||
|
|
|
@ -31,3 +31,5 @@ endif
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
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
|
||||||
|
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
2966
perf/powerhint-zuma.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue