OSDN Git Service

drm/amdgpu: skip kfd-iommu suspend/resume for S0ix
authorAaron Liu <aaron.liu@amd.com>
Wed, 5 Apr 2023 11:22:20 +0000 (19:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Apr 2023 17:37:20 +0000 (13:37 -0400)
commitf22067419e9683f8fba40ca3a0d56fb3106c7c6f
tree956bc5d39dd819b162cd611a4d0af5f6c1a85d95
parent7c0f7ee00c7d52e7ef1953e151a7f5d5fd5db64b
drm/amdgpu: skip kfd-iommu suspend/resume for S0ix

GFX is in gfxoff mode during s0ix so we shouldn't need to
actually execute kfd_iommu_suspend/kfd_iommu_resume operation.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c