VF management#
VF management
Functions | |
| amdsmi_status_t | amdsmi_clear_vf_fb (amdsmi_vf_handle_t vf_handle) |
| Clear the framebuffer of a VF. If trying to clear the framebuffer of an active function, the call will fail with device busy. More... | |
| amdsmi_status_t | amdsmi_set_num_vf (amdsmi_processor_handle processor_handle, uint32_t num_vf) |
| Enable a given number of VF. More... | |
Detailed Description
Function Documentation
◆ amdsmi_clear_vf_fb()
| amdsmi_status_t amdsmi_clear_vf_fb | ( | amdsmi_vf_handle_t | vf_handle | ) |
Clear the framebuffer of a VF. If trying to clear the framebuffer of an active function, the call will fail with device busy.
- Platform:
- host
- Parameters
-
[in] vf_handle - Handle to the VF to send the command to.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail
◆ amdsmi_set_num_vf()
| amdsmi_status_t amdsmi_set_num_vf | ( | amdsmi_processor_handle | processor_handle, |
| uint32_t | num_vf | ||
| ) |
Enable a given number of VF.
- Platform:
- host
- Parameters
-
[in] processor_handle PF of a processor for which to query [in] num_vf - Number of VFs to enable.
- Returns
- amdsmi_status_t | AMDSMI_STATUS_SUCCESS on success, non-zero on fail