[SWDEV-539078] Add missing API definitions to python interface (#525)
Added the following API's to amdsmi_interface.py. amdsmi_get_cpu_handle() amdsmi_get_esmi_err_msg() amdsmi_get_gpu_event_notification() amdsmi_get_processor_count_from_handles() amdsmi_get_processor_handles_by_type() amdsmi_gpu_validate_ras_eeprom() amdsmi_init_gpu_event_notification() amdsmi_set_gpu_event_notification_mask() amdsmi_stop_gpu_event_notification() amdsmi_get_gpu_busy_percent() Added additional return value to API amdsmi_get_xgmi_plpd(). The entry policies is added to the end of the dictionary to match API definition. The entry plpds is marked for deprecation as it has the same information as policies. --------- Signed-off-by: josnarlo <Joseph.Narlo@amd.com> Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Esse commit está contido em:
@@ -3325,7 +3325,7 @@ Field | Description
|
||||
---|---
|
||||
`num_supported` | The number of supported policies
|
||||
`current_id` | The current policy index
|
||||
`plpds` | List of policies.
|
||||
`policies` | List of policies. (`plpds` marked for deprecation in next major release)
|
||||
|
||||
Exceptions that can be thrown by `amdsmi_get_xgmi_plpd` function:
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário