sanders: add perfboostconfig.xml

This commit is contained in:
Vachounet
2017-12-09 10:23:23 +01:00
committed by therootlord
parent 156e611a35
commit 9163181afb
3 changed files with 63 additions and 1 deletions

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* Copyright (c) 2017 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--Ids are used in identifying the boosts, increment ids linearly,
do not modify Ids, or add in between-->
<!--follow the number format rules while specifying number, can be given
in any format-->
<BoostConfigs>
<PerfBoost>
<!--app lauch boost-->
<!-- SCHEDBOOST resource opcode, value-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- SCHED_SPILL_NR_RUN resource opcode, value-->
<!-- SCHED_RESTRICT_CLUSTER_SPILL resource opcode, value-->
<!-- Type="1", main launch boost of 2sec -->
<Config
Id="0x00001081" Type="1" Enable="true" Timeout="2000" Target="msm8953"
Resources="0x40C00000, 0x1, 0x40800100, 0x690, 0x40C2C000, 0x1, 0x40C34000, 0x0" />
<!--app lauch boost (disabling packing)-->
<!-- DISABLE_POWER_COLLAPSE resource opcode, value-->
<!-- Type="2", launch boost for disable packing 1.5sec -->
<Config
Id="0x00001081" Type="2" Enable="true" Timeout="1500" Target="msm8953"
Resources="0x40400000, 0x1" />
<!-- config_enablePerfBoostForAnimation-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value-->
<!-- Type="1", Animation boost of 0.6sec -->
<Config
Id="0x00001083" Type="1" Enable="true" Timeout="600" Target="msm8953"
Resources="0x40800100, 0x578" />
<!--Vertical Scroll boost-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- Type="1", Vertical Scroll boost -->
<Config
Id="0x00001080" Type="1" Enable="true" Target="msm8953"
Resources="0x40800100, 0x578" />
<!--Horizontal Scroll boost-->
<!-- CPUBOOST_MIN_FREQ LITTLE Core resource opcode, value -->
<!-- Type="2", Horizontal Scroll boost -->
<Config
Id="0x00001080" Type="2" Enable="true" Target="msm8953"
Resources="0x40800100, 0x578" />
</PerfBoost>
</BoostConfigs>

View File

@@ -318,7 +318,8 @@ PRODUCT_PACKAGES += \
# Powerhint configuration file
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/powerhint.xml:system/etc/powerhint.xml
$(LOCAL_PATH)/configs/powerhint.xml:system/etc/powerhint.xml \
$(LOCAL_PATH)/configs/perfboostsconfig.xml:$(TARGET_COPY_OUT_VENDOR)/etc/perf/perfboostsconfig.xml
# Releasetools script
PRODUCT_COPY_FILES += \