Go to the source code of this file.
◆ T_J_SHUTDOWN
| #define T_J_SHUTDOWN 110 /* BH Prod Spec 7.3 */ |
◆ CatSetGddrThermTripEnabled()
Enable or disable the GDDR thermal-trip action at runtime.
- Parameters
-
| enabled | false to disable, true to enable. |
- Returns
- 0 on success.
◆ EvaluateGddrThermTrip()
| int EvaluateGddrThermTrip |
( |
int64_t | now, |
|
|
int | max_temp, |
|
|
int | trip_temp, |
|
|
int | critical_temp, |
|
|
int64_t | duration_ms ) |
Evaluate the GDDR thermal-trip state machine for one sample against the supplied thresholds.
Production code uses the internal MonitorGddrThermTrip wrapper, which supplies the thresholds seeded from the firmware table at init.
- Parameters
-
| now | Current uptime in milliseconds. |
| max_temp | Highest observed GDDR temperature in degrees Celsius. |
| trip_temp | Sustained over-temp threshold in degrees Celsius. |
| critical_temp | Instantaneous (no-dwell) trip threshold in degrees Celsius. |
| duration_ms | Sustained dwell time before tripping, in milliseconds. |
- Returns
- The tripping temperature (non-zero) when a trip fires, otherwise 0.
◆ StartGddrThermTripMonitor()
| int StartGddrThermTripMonitor |
( |
void | | ) |
|