bcl: Update soft_ocp cooling device

Add cooling device for soft_ocp_warn.

Bug: 188701596
Test: Local test and check trip point
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ife680d79467d9a07e14cc890d60f35aba02c0b65
This commit is contained in:
George Lee 2021-08-06 14:16:42 -07:00
parent 3f4c1166f6
commit f7e42d69e0
3 changed files with 47 additions and 6 deletions

View file

@ -897,7 +897,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Monitor":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"ocp_gpu",
@ -997,7 +1003,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Monitor":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"soft_ocp_gpu",

View file

@ -570,7 +570,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Monitor":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"ocp_gpu",
@ -670,7 +676,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Monitor":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"soft_ocp_gpu",
@ -737,6 +749,11 @@
"Type":"GPU",
"WritePath":"/dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote",
"State2Power":["2580", "2033", "1427", "826", "358"]
},
{
"Name":"tpu_cooling",
"Type":"NPU",
"WritePath":"/dev/thermal/cdev-by-name/tpu_cooling/user_vote"
}
],
"PowerRails":[

View file

@ -897,7 +897,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Monitor":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"ocp_gpu",
@ -997,7 +1003,13 @@
],
"VrThreshold":"NAN",
"Multiplier":1,
"Monitor":true
"Monitor":true,
"BindedCdevInfo": [
{
"CdevRequest": "tpu_cooling",
"LimitInfo": [0, 0, 0, 0, 3, 3, 3]
}
]
},
{
"Name":"soft_ocp_gpu",