mirror_ubuntu-kernels/drivers/gpu/drm/amd
Felix Kuehling f3921a9a64 drm/amdgpu: Don't resume IOMMU after incomplete init
Check kfd->init_complete in kgd2kfd_iommu_resume, consistent with other
kgd2kfd calls. This should fix IOMMU errors on resume from suspend when
KFD IOMMU initialization failed.

Reported-by: Matt Fagnani <matt.fagnani@bell.net>
Link: https://lore.kernel.org/r/4a3b225c-2ffd-e758-4de1-447375e34cad@bell.net/
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217170
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2454
Cc: Vasant Hegde <vasant.hegde@amd.com>
Cc: Linux regression tracking (Thorsten Leemhuis) <regressions@leemhuis.info>
Cc: stable@vger.kernel.org
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Matt Fagnani <matt.fagnani@bell.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-03-15 18:21:51 -04:00
..
acp
amdgpu drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes 2023-03-14 10:40:48 -04:00
amdkfd drm/amdgpu: Don't resume IOMMU after incomplete init 2023-03-15 18:21:51 -04:00
display drm/amd/display: disconnect MPCC only on OTG change 2023-03-15 18:19:35 -04:00
include drm/amd/display: disable SubVP + DRR to prevent underflow 2023-02-15 22:26:22 -05:00
pm drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume 2023-03-14 10:36:25 -04:00