https://bugzilla.kernel.org/show_bug.cgi?id=211277
--- Comment #83 from kolAflash (kolAflash@kolahilft.de) --- Hi James,
(In reply to James Zhu from comment #82)
[...] $ grep -rn "amdgpu_amdkfd.h|kgd2kfd_resume_iommu" drivers/gpu/drm/amd/amdkfd/kfd_device.c 31:#include "amdgpu_amdkfd.h" 604: kfd->pci_atomic_requested = amdgpu_amdkfd_have_atomics_support(kgd);
792: if (kgd2kfd_resume_iommu(kfd))
940:int kgd2kfd_resume_iommu(struct kfd_dev *kfd)
the line numbers you're quoting are for Linux v5.12.19 (0e6f651912bdd027a6d730b68d6d1c3f4427c0ae) + the attachment-299697 patch.
Looks we are using different 5.10, should we use 5.10 stable for adding this backport patches?.
754 | if (kgd2kfd_resume_iommu(kfd))
| ^~~~~~~~~~~~~~~~~~~~ | kgd2kfd_resume_mm
I'm testing with Linux v5.10.80 (f884bb85b8d877d4e0c670403754813a7901705b) + the attachment-299697 patch. And there it's line number 754.