Change-Id: I5f1a31df9bf9aaf6cb501b6db77c93f7bbfa34f2 Co-authored-by: Taylor Ding <taylding@amd.com>
This commit is contained in:
committed by
GitHub
vanhempi
d65b2677b6
commit
70fad049df
@@ -5738,6 +5738,7 @@ pub fn amdsmi_get_gpu_activity(
|
||||
/// This function will return the error in [`AmdsmiStatusT`] if the underlying `amdsmi_wrapper::amdsmi_get_power_info` call fails.
|
||||
pub fn amdsmi_get_power_info(
|
||||
processor_handle: AmdsmiProcessorHandle,
|
||||
sensor_ind: u32,
|
||||
) -> AmdsmiResult<AmdsmiPowerInfoT> {
|
||||
let mut info = MaybeUninit::<AmdsmiPowerInfoT>::uninit();
|
||||
call_unsafe!(amdsmi_wrapper::amdsmi_get_power_info(
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user