]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc14a47cb8b7842c9cae8af5a7ba21904b34fe62
tree350f365af9f47539a0337620d96c06d8f69cb4e9
parent932de944c381c135ed958b43974c0483d20e4e96
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