thermal: bringup basic thermal throttling for dogfood
Bug: 219869479 Test: verified by emul_temp Change-Id: Ifc2123bd78c62126a25b5d3e4d9413a4dc97bcd6
This commit is contained in:
parent
e6f34d946a
commit
12d950f1d1
2 changed files with 28 additions and 10 deletions
|
@ -296,23 +296,27 @@
|
||||||
"BindedCdevInfo": [
|
"BindedCdevInfo": [
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-0",
|
"CdevRequest": "thermal-cpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 7, 8, 10, 10]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-1",
|
"CdevRequest": "thermal-cpufreq-1",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 10, 12, 14, 14]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
"CdevRequest": "thermal-cpufreq-2",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 15, 15, 17, 17]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 9, 10, 11, 11]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CdevRequest": "gxp-cooling",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 0, 9, 9]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1020,6 +1024,11 @@
|
||||||
"Name":"tpu_cooling",
|
"Name":"tpu_cooling",
|
||||||
"Type":"NPU",
|
"Type":"NPU",
|
||||||
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"gxp-cooling",
|
||||||
|
"Type":"NPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"PowerRails":[
|
"PowerRails":[
|
||||||
|
|
|
@ -322,23 +322,27 @@
|
||||||
"BindedCdevInfo": [
|
"BindedCdevInfo": [
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-0",
|
"CdevRequest": "thermal-cpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 7, 8, 10, 10]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-1",
|
"CdevRequest": "thermal-cpufreq-1",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 10, 12, 14, 14]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-cpufreq-2",
|
"CdevRequest": "thermal-cpufreq-2",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 15, 15, 17, 17]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "thermal-gpufreq-0",
|
"CdevRequest": "thermal-gpufreq-0",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 0, 0, 9, 10, 11, 11]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CdevRequest": "tpu_cooling",
|
"CdevRequest": "tpu_cooling",
|
||||||
"LimitInfo": [0, 0, 0, 0, 0, 0, 0]
|
"LimitInfo": [0, 2, 3, 4, 5, 5, 5]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CdevRequest": "gxp-cooling",
|
||||||
|
"LimitInfo": [0, 0, 0, 0, 0, 9, 9]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1048,6 +1052,11 @@
|
||||||
"Name":"tpu_cooling",
|
"Name":"tpu_cooling",
|
||||||
"Type":"NPU",
|
"Type":"NPU",
|
||||||
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name":"gxp-cooling",
|
||||||
|
"Type":"NPU",
|
||||||
|
"WritePath":"/dev/thermal/cdev-by-name/gxp-cooling/user_vote"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"PowerRails":[
|
"PowerRails":[
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue