power: Add powerhint for PSM light/medium/deep mode

Support powerhint to get valid return to perfHint.

Change-Id: Ib3ed4bae9983a66faa24295028923fea8ecbcc0b
This commit is contained in:
zehugong
2022-04-25 15:32:27 +08:00
parent 537d0e3db9
commit 622f7fed2f

26
config/kalama/powerhint.xml Normal file → Executable file
View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<!-- <!--
/*Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. /*Copyright (c) 2020-2022, The Linux Foundation. All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are * modification, are permitted provided that the following conditions are
@@ -370,5 +370,29 @@
Id="0X00001504" Enable="true" Timeout="0" Target="kalama" Id="0X00001504" Enable="true" Timeout="0" Target="kalama"
Resources="0x40800000, 0XA"/> Resources="0x40800000, 0XA"/>
<!-- psm light mode power hint-->
<!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
<Config
Id="0x000015E0" Type="0x81" Enable="true" Timeout="0" Taget="kalama"
Resources="0x40800000, 0XA"/>
<!-- psm medium mode power hint-->
<!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
<Config
Id="0x000015E0" Type="0x82" Enable="true" Timeout="0" Taget="kalama"
Resources="0x40800000, 0XA"/>
<!-- psm deep mode power hint-->
<!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
<Config
Id="0x000015E0" Type="0x83" Enable="true" Timeout="0" Taget="kalama"
Resources="0x40800000, 0XA"/>
<!-- psm release mode power hint-->
<!-- MPCTLV3_MIN_FREQ_CLUSTER_BIG_CORE_0, 0XA -->
<Config
Id="0x000015E0" Type="0x80" Enable="true" Timeout="0" Taget="kalama"
Resources="0x40800000, 0XA"/>
</Powerhint> </Powerhint>
</HintConfigs> </HintConfigs>