[Bug 101946] Rebinding AMDGPU causes initialization errors [R9 290]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 1 16:58:07 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101946

--- Comment #26 from Robin <beanow at oscp.info> ---
(In reply to Luke A. Guest from comment #25)
> I have 2 AMD GPU's, R9 390 (host) and R9 380 (guest). I boot with the 380
> being passed over to vfio-pci. On exit the VM sets the 380 back to vfio-pci.

FWIW I don't think any of these patches are relevant to you then.
The reset logic for your 380 would be coming from the guest's driver +
vfio-pci. Where vfio in theory should only try to get the 380's state back to
how it would be if you actually rebooted and leave the more sophisticated work
to the guest driver.

Though as mentioned here https://www.spinics.net/lists/kvm/msg116277.html
vfio-pci may employ hardware specific solutions if there's no good blanket
solution.

---

For my scenario I have the Intel iGPU and the R9 290. So I am trying to find a
setup where I can use the 290 for gaming on both the host and the guest. Once
the 290 is bound to vfio-pci I have no issues with the VM. Reboot, force off,
as many times as I like and no problems.

It's when I am done with the VMs and try to give the 290 back to amdgpu I had
init issues. Which my comment 20 patch does resolve, even if it is a carpet
bomb approach to solving it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170801/0edb6356/attachment.html>


More information about the dri-devel mailing list