drm/amdgpu: fix for suspend/resume kiq fence fallback under sriov
authorShikang Fan <shikang.fan@amd.com>
Fri, 18 Nov 2022 09:35:33 +0000 (17:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2022 15:31:31 +0000 (10:31 -0500)
commit3c22c1ead6b2e6a9c0f2eeef143948f5d701dd08
tree26477a03358d5b52a3d0e3950cc6b41aa6d3aae7
parent6066aaf74f510fc171dbe9375153aee2d60d37aa
drm/amdgpu: fix for suspend/resume kiq fence fallback under sriov

- in device_resume, sriov configure interrupt should be in full access,
  so release_full_gpu should be done after kfd_resume.
- remove the previous workaround solution for sriov.

Fixes: ec4927d463cb ("drm/amdgpu: fix for suspend/resume sequence under sriov")
Signed-off-by: Shikang Fan <shikang.fan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c