Merge "thermal: update USBC throttling policy" into main
This commit is contained in:
commit
2f87ee127e
9 changed files with 270 additions and 0 deletions
|
@ -808,6 +808,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-UI",
|
||||
"Type": "USB_PORT",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"SendCallback": true
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
|
@ -800,6 +800,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-UI",
|
||||
"Type": "USB_PORT",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"SendCallback": true
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
|
@ -171,6 +171,26 @@
|
|||
"LimitInfo": [0, 0, 1, 1, 1, 26, 26]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
}
|
||||
],
|
||||
"CoolingDevices":[
|
||||
|
|
|
@ -217,6 +217,26 @@
|
|||
"LimitInfo": [0, 0, 1, 1, 1, 26, 26]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
}
|
||||
],
|
||||
"CoolingDevices":[
|
||||
|
|
|
@ -204,6 +204,26 @@
|
|||
"LimitInfo": [0, 0, 1, 1, 1, 26, 26]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
}
|
||||
],
|
||||
"CoolingDevices":[
|
||||
|
|
|
@ -910,6 +910,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-UI",
|
||||
"Type": "USB_PORT",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"SendCallback": true
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
|
@ -900,6 +900,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-UI",
|
||||
"Type": "USB_PORT",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"SendCallback": true
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
|
@ -831,6 +831,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-UI",
|
||||
"Type": "USB_PORT",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"SendCallback": true
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
|
@ -821,6 +821,41 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-THROTTLING",
|
||||
"Type": "UNKNOWN",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", 55.0, "NaN", "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 1.9, 0.0, 0.0],
|
||||
"BindedCdevInfo": [
|
||||
{
|
||||
"CdevRequest": "usbc-port",
|
||||
"LimitInfo": [0, 0, 0, 0, 1, 1, 1]
|
||||
}
|
||||
],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000
|
||||
},
|
||||
{
|
||||
"Name": "VIRTUAL-USB-UI",
|
||||
"Type": "USB_PORT",
|
||||
"VirtualSensor": true,
|
||||
"Formula": "WEIGHTED_AVG",
|
||||
"TriggerSensor": "usb_pwr_therm",
|
||||
"Combination": ["usb_pwr_therm"],
|
||||
"Coefficient": [1.0],
|
||||
"HotThreshold": ["NaN", "NaN", "NaN", "NaN", "NaN", 57.0, "NaN"],
|
||||
"HotHysteresis": [0.0, 0.0, 0.0, 0.0, 0.0, 1.9, 0.0],
|
||||
"Multiplier": 0.001,
|
||||
"PollingDelay": 300000,
|
||||
"PassiveDelay": 7000,
|
||||
"SendCallback": true
|
||||
},
|
||||
{
|
||||
"Name":"LITTLE",
|
||||
"Type":"CPU",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue