Corrected voltage_read call in amdsmi_get_power_info
Change-Id: I4097b3ac5699360d4e91c8b8254431b6b6768c3e Signed-off-by: Maisam Arif <maisarif@amd.com>
This commit is contained in:
committed by
Galantsev, Dmitrii
parent
e4fac177c1
commit
def17accbe
@@ -946,7 +946,7 @@ def amdsmi_get_gpu_driver_info(
|
||||
|
||||
def amdsmi_get_power_info(
|
||||
processor_handle: amdsmi_wrapper.amdsmi_processor_handle,
|
||||
) -> Dict[str, Any]:
|
||||
) -> Dict[str, ctypes.c_uint32]:
|
||||
if not isinstance(processor_handle, amdsmi_wrapper.amdsmi_processor_handle):
|
||||
raise AmdSmiParameterException(
|
||||
processor_handle, amdsmi_wrapper.amdsmi_processor_handle
|
||||
|
||||
Reference in New Issue
Block a user