drm/amdgpu: fix SDMA suspend/resume on SR-IOV
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 19:53:10 +0000 (15:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Oct 2022 21:32:56 +0000 (17:32 -0400)
commita98cec220aa4b2502704aa0196da1bdc9eb455b4
tree350f365af9f47539a0337620d96c06d8f69cb4e9
parent571c053658926df3321633b7133f574d3e656c81
drm/amdgpu: fix SDMA suspend/resume on SR-IOV

Update all SDMA versions that support SR-IOV to properly
tear down the ttm buffer functions on suspend.

Tested-by: Bokun Zhang <Bokun.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c