diff options
author | Kevin Wang <[email protected]> | 2020-04-29 18:49:23 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-05-18 11:23:52 -0400 |
commit | a7f28103374787ae43b936cd2ec2f8388958668e (patch) | |
tree | 18566592700960d3c3acce68ecff4b9975cb805d /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 728e7e0cd61899208e924472b9e641dbeb0775c4 (diff) |
drm/amdgpu: add amdgpu_virt_get_vf_mode helper function
the swsmu or powerplay(hwmgr) need to handle task according to different VF mode,
this function to help query vf mode.
vf mode:
1. SRIOV_VF_MODE_BARE_METAL: the driver work on host OS (PF)
2. SRIOV_VF_MODE_ONE_VF : the driver work on guest OS with one VF
3. SRIOV_VF_MODE_MULTI_VF : the driver work on guest OS with multi VF
Signed-off-by: Kevin Wang <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions