aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
diff options
context:
space:
mode:
authorKevin Wang <[email protected]>2020-04-29 10:49:23 +0000
committerAlex Deucher <[email protected]>2020-05-18 15:23:52 +0000
commita7f28103374787ae43b936cd2ec2f8388958668e (patch)
tree18566592700960d3c3acce68ecff4b9975cb805d /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
parentdrm/amdgpu: Add autodump debugfs node for gpu reset v8 (diff)
downloadkernel-a7f28103374787ae43b936cd2ec2f8388958668e.tar.gz
kernel-a7f28103374787ae43b936cd2ec2f8388958668e.zip
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.h')
0 files changed, 0 insertions, 0 deletions