diff options
author | Rajib Mahapatra | 2022-02-10 18:46:40 +0530 |
---|---|---|
committer | Alex Deucher | 2022-02-14 14:59:46 -0500 |
commit | f8f4e2a518347063179def4e64580b2d28233d03 (patch) | |
tree | e229affc83d3510d27e2e56539ab8d650c37871f /drivers/gpu/host1x | |
parent | 0136f5844b006e2286f873457c3fcba8c45a3735 (diff) |
drm/amdgpu: skipping SDMA hw_init and hw_fini for S0ix.
[Why]
SDMA ring buffer test failed if suspend is aborted during
S0i3 resume.
[How]
If suspend is aborted for some reason during S0i3 resume
cycle, it follows SDMA ring test failing and errors in amdgpu
resume. For RN/CZN/Picasso, SMU saves and restores SDMA
registers during S0ix cycle. So, skipping SDMA suspend and
resume from driver solves the issue. This time, the system
is able to resume gracefully even the suspend is aborted.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rajib Mahapatra <rajib.mahapatra@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/host1x')
0 files changed, 0 insertions, 0 deletions