drm/amdkfd: separate kfd_iommu_resume from kfd_resume
authorJames Zhu <James.Zhu@amd.com>
Tue, 7 Sep 2021 15:13:02 +0000 (11:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Sep 2021 13:56:24 +0000 (09:56 -0400)
commitfefc01f042f44ede373ee66773b8238dd8fdcb55
tree19213742d7fae1bf0caf9f906affb586b4b80ebf
parent71ae30997a8f1791835167d3ceb8d1fab32407db
drm/amdkfd: separate kfd_iommu_resume from kfd_resume

Separate kfd_iommu_resume from kfd_resume for fine-tuning
of amdgpu device init/resume/reset/recovery sequence.

v2: squash in fix for !CONFIG_HSA_AMD

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=211277
Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdkfd/kfd_device.c