thermal: Update thermal table

Update power link settings for o6 proto to resolve thermalhal crash.

Bug: 193373779
Test: use emul_temp to check cpu throttling work
Change-Id: Iff6b16458c717c6a8aba0b82ecb7f78535ffe5e8
This commit is contained in:
YiHo Cheng 2021-07-12 19:58:52 +08:00 committed by TreeHugger Robot
parent 3d09e38a82
commit 1a261f8b30
3 changed files with 68 additions and 39 deletions

View file

@ -813,7 +813,7 @@
"Name":"S5M_VDD_INT" "Name":"S5M_VDD_INT"
}, },
{ {
"Name":"S5M_VDD_MIF" "Name":"S1M_VDD_MIF"
}, },
{ {
"Name":"S2S_VDD_G3D", "Name":"S2S_VDD_G3D",

View file

@ -28,7 +28,9 @@
"NAN" "NAN"
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":0.001 "Multiplier":0.001,
"PollingDelay":60000,
"PassiveDelay":7000
}, },
{ {
"Name":"gnss_tcxo_therm", "Name":"gnss_tcxo_therm",
@ -159,40 +161,42 @@
"MinAllocPower":["NAN", "NAN", "NAN", 2000, "NAN", "NAN", "NAN"], "MinAllocPower":["NAN", "NAN", "NAN", 2000, "NAN", "NAN", "NAN"],
"MaxAllocPower":["NAN", "NAN", "NAN", 7000, "NAN", "NAN", "NAN"], "MaxAllocPower":["NAN", "NAN", "NAN", 7000, "NAN", "NAN", "NAN"],
"I_Cutoff":["NAN", "NAN", "NAN", 1, "NAN", "NAN", "NAN"], "I_Cutoff":["NAN", "NAN", "NAN", 1, "NAN", "NAN", "NAN"],
"CdevRequest":[ "BindedCdevInfo": [
"thermal-cpufreq-0",
"thermal-cpufreq-1",
"thermal-cpufreq-2",
"thermal-gpufreq-0"
],
"CdevWeight":[
1.0,
1.0,
1.0,
1.0
],
"CdevCeiling":[
3,
9,
10,
2
],
"LimitInfo": [
{ {
"CdevRequest": "thermal-cpufreq-0", "CdevRequest": "thermal-cpufreq-0",
"CdevInfo": [0, 0, 0, 0, 8, 10, 10] "CdevWeightForPID": [0.9, 0.9, 0.9, 0.9, 0.9, 0.9, 0.9],
"CdevCeiling": [6, 6, 6, 7, 8, 10, 10],
"LimitInfo": [0, 0, 0, 7, 8, 10, 10],
"BindedPowerRail": "S4M_VDD_CPUCL0",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
"ReleaseLogic": "DECREASE"
}, },
{ {
"CdevRequest": "thermal-cpufreq-1", "CdevRequest": "thermal-cpufreq-1",
"CdevInfo": [0, 0, 0, 0, 11, 13, 13] "CdevWeightForPID": [1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1],
"CdevCeiling": [7, 7, 7, 8, 9, 11, 11],
"LimitInfo": [0, 0, 0, 8, 9, 11, 11],
"BindedPowerRail": "S3M_VDD_CPUCL1",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
"ReleaseLogic": "DECREASE"
}, },
{ {
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"CdevInfo": [0, 0, 0, 0, 12, 14, 14] "CdevWeightForPID": [2.9, 2.9, 2.9, 2.9, 2.9, 2.9, 2.9],
"CdevCeiling": [10, 10, 10, 11, 12, 14, 14],
"LimitInfo": [0, 0, 0, 11, 12, 14, 14],
"BindedPowerRail": "S2M_VDD_CPUCL2",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
"ReleaseLogic": "DECREASE"
}, },
{ {
"CdevRequest": "thermal-gpufreq-0", "CdevRequest": "thermal-gpufreq-0",
"CdevInfo": [0, 0, 0, 0, 3, 4, 4] "CdevWeightForPID": [3.3, 3.3, 3.3, 3.3, 3.3, 3.3, 3.3],
"CdevCeiling": [1, 1, 1, 2, 3, 4, 4],
"LimitInfo": [0, 0, 0, 2, 3, 4, 4],
"BindedPowerRail": "S2S_VDD_G3D",
"PowerThreshold": [200, 200, 200, 200, 50, 0, 0],
"ReleaseLogic": "DECREASE"
} }
] ]
}, },
@ -232,7 +236,9 @@
], ],
"VrThreshold":"NAN", "VrThreshold":"NAN",
"Multiplier":0.001, "Multiplier":0.001,
"Monitor":true "Monitor":true,
"PollingDelay":300000,
"PassiveDelay":7000
}, },
{ {
"Name":"LITTLE", "Name":"LITTLE",
@ -375,18 +381,6 @@
{ {
"CdevRequest": "thermal-cpufreq-2", "CdevRequest": "thermal-cpufreq-2",
"LimitInfo": [0, 0, 0, 7, 7, 10, 10] "LimitInfo": [0, 0, 0, 7, 7, 10, 10]
},
{
"CdevRequest": "thermal-cpufreq-0",
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
},
{
"CdevRequest": "thermal-cpufreq-1",
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
},
{
"CdevRequest": "thermal-gpufreq-0",
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
} }
] ]
}, },
@ -607,5 +601,40 @@
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote", "WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
"State2Power":["1100", "1000", "900", "800", "700"] "State2Power":["1100", "1000", "900", "800", "700"]
} }
],
"PowerRails":[
{
"Name":"PPVAR_VSYS_PWR_DISP"
},
{
"Name":"VSYS_PWR_MODEM"
},
{
"Name":"S2M_VDD_CPUCL2",
"PowerSampleDelay":14000,
"PowerSampleCount":5
},
{
"Name":"S3M_VDD_CPUCL1",
"PowerSampleDelay":14000,
"PowerSampleCount":5
},
{
"Name":"S4M_VDD_CPUCL0",
"PowerSampleDelay":14000,
"PowerSampleCount":5
},
{
"Name":"S5M_VDD_INT"
},
{
"Name":"S1M_VDD_MIF"
},
{
"Name":"S2S_VDD_G3D",
"PowerSampleDelay":14000,
"PowerSampleCount":5
}
] ]
} }

View file

@ -817,7 +817,7 @@
"Name":"S5M_VDD_INT" "Name":"S5M_VDD_INT"
}, },
{ {
"Name":"S5M_VDD_MIF" "Name":"S1M_VDD_MIF"
}, },
{ {
"Name":"S2S_VDD_G3D", "Name":"S2S_VDD_G3D",