Add support for the HBM temperature
The rsmi_dev_temp_metric_get() can also support the HBM temperatures which is retrieved from gpu_metrics. Change-Id: I96b979296e90cf881523627b41b1a02849676416
This commit is contained in:
@@ -407,8 +407,11 @@ typedef enum {
|
||||
RSMI_TEMP_TYPE_JUNCTION, //!< Junction/hotspot
|
||||
//!< temperature
|
||||
RSMI_TEMP_TYPE_MEMORY, //!< VRAM temperature
|
||||
|
||||
RSMI_TEMP_TYPE_LAST = RSMI_TEMP_TYPE_MEMORY,
|
||||
RSMI_TEMP_TYPE_HBM_0, //!< HBM temperature instance 0
|
||||
RSMI_TEMP_TYPE_HBM_1, //!< HBM temperature instance 1
|
||||
RSMI_TEMP_TYPE_HBM_2, //!< HBM temperature instance 2
|
||||
RSMI_TEMP_TYPE_HBM_3, //!< HBM temperature instance 3
|
||||
RSMI_TEMP_TYPE_LAST = RSMI_TEMP_TYPE_HBM_3,
|
||||
RSMI_TEMP_TYPE_INVALID = 0xFFFFFFFF //!< Invalid type
|
||||
} rsmi_temperature_type_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user