https://bugs.freedesktop.org/show_bug.cgi?id=101946
--- Comment #28 from Robin beanow@oscp.info --- (In reply to Luke A. Guest from comment #27)
FWIW I don't think any of these patches are relevant to you then.
Not strictly true. As I said, Alex pointed me at this page to try his patches. I believe all this is connected. There are issues un/binding from/to the driver. There are reset issues as well.
True, there may be init/cleanup issues with AMD cards that might be better understood and documented in the open source community if this were fixed in amdgpu and hopefully that helps you in vfio-pci as well.