diff options
| author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2017-10-02 08:47:39 +0200 |
|---|---|---|
| committer | hemantbeast <hemantbeast@gmail.com> | 2017-10-04 15:07:38 +0000 |
| commit | 4e538abaa7c0462333f5526d18aceaa4c887287f (patch) | |
| tree | ce98c665c3a36da2eda317f61662bf4fa8ea5ff2 | |
| parent | c05c66ac24d8cae60b56e568a621d17edb7caf36 (diff) | |
Change-Id: I8e92773758698a4d64a68562cfae3f0cc8ab5f2c
| -rw-r--r-- | configs/thermanager.xml | 15 | ||||
| -rw-r--r-- | configs/thermanager_X526.xml | 15 |
2 files changed, 24 insertions, 6 deletions
diff --git a/configs/thermanager.xml b/configs/thermanager.xml index a0d2f5e..b675bc1 100644 --- a/configs/thermanager.xml +++ b/configs/thermanager.xml @@ -44,6 +44,7 @@ <!-- hotplugging --> <resource name="thermal-max-cpus" type="sysfs">/sys/devices/system/cpu/cpuquiet/nr_thermal_max_cpus</resource> + <resource name="power-max-cpus" type="sysfs">/sys/devices/system/cpu/cpuquiet/nr_power_max_cpus</resource> <!-- device-specific --> <resource name="adreno-max-clk" type="sysfs">/sys/class/kgsl/kgsl-3d0/max_gpuclk</resource> @@ -89,9 +90,17 @@ </control> <control name="cluster-1-hotplug"> - <mitigation level="off"><value resource="thermal-max-cpus">6</value></mitigation> - <mitigation level="1"><value resource="thermal-max-cpus">5</value></mitigation> - <mitigation level="2"><value resource="thermal-max-cpus">4</value></mitigation> + <mitigation level="off"> + <value resource="thermal-max-cpus">8</value> + <value resource="power-max-cpus">8</value> + </mitigation> + <mitigation level="1"> + <value resource="thermal-max-cpus">6</value> + <value resource="power-max-cpus">6</value> + </mitigation> + <mitigation level="2"> + <value resource="thermal-max-cpus">4</value> + </mitigation> </control> <control name="adreno-clk"> diff --git a/configs/thermanager_X526.xml b/configs/thermanager_X526.xml index 618bef8..d6a28da 100644 --- a/configs/thermanager_X526.xml +++ b/configs/thermanager_X526.xml @@ -44,6 +44,7 @@ <!-- hotplugging --> <resource name="thermal-max-cpus" type="sysfs">/sys/devices/system/cpu/cpuquiet/nr_thermal_max_cpus</resource> + <resource name="power-max-cpus" type="sysfs">/sys/devices/system/cpu/cpuquiet/nr_power_max_cpus</resource> <!-- device-specific --> <resource name="adreno-max-clk" type="sysfs">/sys/class/kgsl/kgsl-3d0/max_gpuclk</resource> @@ -89,9 +90,17 @@ </control> <control name="cluster-1-hotplug"> - <mitigation level="off"><value resource="thermal-max-cpus">6</value></mitigation> - <mitigation level="1"><value resource="thermal-max-cpus">5</value></mitigation> - <mitigation level="2"><value resource="thermal-max-cpus">4</value></mitigation> + <mitigation level="off"> + <value resource="thermal-max-cpus">8</value> + <value resource="power-max-cpus">8</value> + </mitigation> + <mitigation level="1"> + <value resource="thermal-max-cpus">6</value> + <value resource="power-max-cpus">6</value> + </mitigation> + <mitigation level="2"> + <value resource="thermal-max-cpus">4</value> + </mitigation> </control> <control name="adreno-clk"> |
