aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
diff options
context:
space:
mode:
authorBokun Zhang <[email protected]>2022-09-28 00:30:04 +0800
committerAlex Deucher <[email protected]>2022-09-27 18:03:36 -0400
commit3b7329cf5a767c1be38352d43066012e220ad43c (patch)
tree7bf5f687a801980a777419990e14a8037874a840 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
parent11e38360cc15e2d5995449d19030b13a67d73cb3 (diff)
drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
- Under SRIOV, we need to send REQ_GPU_FINI to the hypervisor during the suspend time. Furthermore, we cannot request a mode 1 reset under SRIOV as VF. Therefore, we will skip it as it is called in suspend_noirq() function. - In the resume code path, we need to send REQ_GPU_INIT to the hypervisor and also resume PSP IP block under SRIOV. Signed-off-by: Bokun Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions