powerhint: Add DISPLAY_CHANGE hint

Add DISPLAY_CHANGE hint for display layout change due to rotation or
switching between inner and outer panels.

Bug: 298150450
Test: build pass
Change-Id: I0f7667c3368843b12bbc0bd3151864bde6367a00
This commit is contained in:
jimmyshiu 2023-09-01 00:45:29 +00:00 committed by Jimmy Shiu
parent 7d003f2d2b
commit 9901f4e467

View file

@ -817,6 +817,71 @@
"Duration": 2000, "Duration": 2000,
"Value": "9999999" "Value": "9999999"
}, },
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "ReducePreferIdle",
"Duration": 5000,
"Value": "0"
},
{
"PowerHint": "DISPLAY_CHANGE_GPU",
"Node": "GPUDvfsPeriod",
"Duration": 1000,
"Value": "10"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "FGPreferIdle",
"Duration": 5000,
"Value": "1"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Type": "DoHint",
"Value": "DISPLAY_CHANGE_GPU"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUBigClusterMaxFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPUMidClusterMaxFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "CPULittleClusterMaxFreq",
"Duration": 5000,
"Value": "9999999"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "764"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "FGUClampBoost",
"Duration": 5000,
"Value": "159"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "MemFreq",
"Duration": 5000,
"Value": "3172000"
},
{
"PowerHint": "DISPLAY_CHANGE",
"Node": "NPITaskPacking",
"Duration": 5000,
"Value": "0"
},
{ {
"PowerHint": "CPU_LOAD_RESET", "PowerHint": "CPU_LOAD_RESET",
"Node": "GPUMinFreq", "Node": "GPUMinFreq",