thermal: align the gxp throttling policy with P22

Bug: 265609046
Test: verified by emul_temp
Change-Id: I8688208c7b9b2830841c8b81dadf5c0cd682b813
This commit is contained in:
TeYuan Wang 2023-01-16 17:50:56 +08:00 committed by Kame(TeYuan) Wang
parent d7df9abc72
commit a1c43dba6c
2 changed files with 18 additions and 0 deletions

View file

@ -265,6 +265,10 @@
{ {
"CdevRequest": "tpu_cooling", "CdevRequest": "tpu_cooling",
"LimitInfo": [0, 2, 3, 4, 5, 5, 5] "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
},
{
"CdevRequest": "gxp-cooling",
"LimitInfo": [0, 0, 0, 0, 0, 99, 99]
} }
] ]
}, },
@ -897,6 +901,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":[

View file

@ -265,6 +265,10 @@
{ {
"CdevRequest": "tpu_cooling", "CdevRequest": "tpu_cooling",
"LimitInfo": [0, 2, 3, 4, 5, 5, 5] "LimitInfo": [0, 2, 3, 4, 5, 5, 5]
},
{
"CdevRequest": "gxp-cooling",
"LimitInfo": [0, 0, 0, 0, 0, 99, 99]
} }
] ]
}, },
@ -897,6 +901,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":[