Add read fan values and associated tests
Change-Id: I89322e93d5f3110adace15e5a576f00d4934be79
[ROCm/rdc commit: 4729c47866]
This commit is contained in:
@@ -344,6 +344,30 @@ rdc_status_t
|
||||
rdc_dev_temp_metric_get(rdc_channel_t channel, uint32_t dv_ind,
|
||||
uint32_t sensor_type, rsmi_temperature_metric_t metric,
|
||||
int64_t *temperature);
|
||||
|
||||
/**
|
||||
* @brief Remote call to rsmi_dev_fan_rpms_get()
|
||||
*
|
||||
*/
|
||||
rdc_status_t
|
||||
rdc_dev_fan_rpms_get(rdc_channel_t channel, uint32_t dv_ind,
|
||||
uint32_t sensor_ind, int64_t *rpms);
|
||||
|
||||
/**
|
||||
* @brief Remote call to rsmi_dev_fan_speed_get()
|
||||
*
|
||||
*/
|
||||
rdc_status_t
|
||||
rdc_dev_fan_speed_get(rdc_channel_t channel, uint32_t dv_ind,
|
||||
uint32_t sensor_ind, int64_t *speed);
|
||||
|
||||
/**
|
||||
* @brief Remote call to rsmi_dev_fan_speed_max_get()
|
||||
*
|
||||
*/
|
||||
rdc_status_t
|
||||
rdc_dev_fan_speed_max_get(rdc_channel_t channel, uint32_t dv_ind,
|
||||
uint32_t sensor_ind, uint64_t *max_speed);
|
||||
/** @} */ // end of PhysQuer
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user