diff options
author | Bokun Zhang <Bokun.Zhang@amd.com> | 2022-09-28 00:30:04 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-29 09:41:46 -0400 |
commit | d7274ec723cd0c2359ef75f84deca462a60c5025 (patch) | |
tree | c08c338113ab89a02c51c7e082d9fba8cbe8c804 /drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | |
parent | 2d89e2ddfd00ca569dd73883c7c70badbd57f4ac (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 <Bokun.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c')
0 files changed, 0 insertions, 0 deletions