All of lore.kernel.org
 help / color / mirror / Atom feed
* GPU passthrough support for Stoney [Radeon R2/R3/R4/R5 Graphics]?
@ 2019-05-15 18:26 Micah Morton
       [not found] ` <CAJ-EccO1ue5hTtJ8m4utQp+8dSsWm60JFA5YOT1gCODnYcFUog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Micah Morton @ 2019-05-15 18:26 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi folks,

I'm interested in running a VM on a system with an integrated Stoney
[Radeon R2/R3/R4/R5 Graphics] card and passing through the graphics
card to the VM using the IOMMU. I'm wondering whether this is feasible
and supposed to be doable with the right setup (as opposed to passing
a discrete GPU to the VM, which I think is definitely doable?).

So far, I can do all the qemu/kvm/vfio/iommu stuff to run the VM and
pass the integrated GPU to it, but the drm driver in the VM fails
during amdgpu_device_init(). Specifically, the logs show the SMU being
unresponsive, which leads to a 'SMU firmware load failed' error
message and kernel panic. I can share VM logs and the invocation of
qemu and such if helpful, but first wanted to know at a high level if
this should be feasible?

P.S.: I'm not initializing the GPU in the host bios or host kernel at
all, so I should be passing a fresh GPU to the VM. Also, I'm pretty
sure I'm running the correct VGA bios for this GPU in the guest VM
bios before guest boot.

Any comments/suggestions would be appreciated!

Micah
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 13+ messages in thread
* GPU passthrough support for Stoney [Radeon R2/R3/R4/R5 Graphics]?
@ 2019-05-15 18:14 Micah Morton
  0 siblings, 0 replies; 13+ messages in thread
From: Micah Morton @ 2019-05-15 18:14 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1072 bytes --]

Hi folks,

I'm interested in running a VM on a system with an integrated Stoney
[Radeon R2/R3/R4/R5 Graphics] card and passing through the graphics card to
the VM using the IOMMU. I'm wondering whether this is feasible and supposed
to be doable with the right setup (as opposed to passing a discrete GPU to
the VM, which I think is definitely doable?).

So far, I can do all the qemu/kvm/vfio/iommu stuff to run the VM and pass
the integrated GPU to it, but the drm driver in the VM fails during
amdgpu_device_init(). Specifically, the logs show the SMU being
unresponsive, which leads to a 'SMU firmware load failed' error message and
kernel panic. I can share VM logs and the invocation of qemu and such if
helpful, but first wanted to know at a high level if this should be
feasible?

P.S.: I'm not initializing the GPU in the host bios or host kernel at all,
so I should be passing a fresh GPU to the VM. Also, I'm pretty sure I'm
running the correct VGA bios for this GPU in the guest VM bios before guest
boot.

Any comments/suggestions would be appreciated!

Micah

[-- Attachment #1.2: Type: text/html, Size: 1356 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-05-23 19:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 18:26 GPU passthrough support for Stoney [Radeon R2/R3/R4/R5 Graphics]? Micah Morton
     [not found] ` <CAJ-EccO1ue5hTtJ8m4utQp+8dSsWm60JFA5YOT1gCODnYcFUog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-16  2:19   ` Alex Deucher
     [not found]     ` <CADnq5_N=-cWz99T4ma_=6-_bu-Ty2twsFt=KGtzTdWn1hcDSrA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-16 20:07       ` Micah Morton
     [not found]         ` <CAJ-EccOH2dXPD+XeHQcqZYD+xa2eB6SVp6oFk4AD0vy=H+9+0w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-16 20:39           ` Alex Deucher
     [not found]             ` <CADnq5_OTk4nE4G6FHmSRmvNLNO4hJbVC9cuxAiGEZk1_b2C=9w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-17 15:35               ` Micah Morton
     [not found]                 ` <CAJ-EccPFdxNTe5ESwJDg0MKSZasigkcg9CjxN__MgXaF2RURQw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-17 16:59                   ` Alex Deucher
     [not found]                     ` <CADnq5_Osm1NaWWrDNpNNV1c+nyw3NfPyEi=_RjuUNh7hkAfzvQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-21 17:45                       ` Micah Morton
     [not found]                         ` <CAJ-EccNEMO3XbHWgUUpNtnJM7v1P4uCWF-v4hgq4fG45v3GvXg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-22 20:39                           ` Alex Deucher
     [not found]                             ` <CADnq5_NxmBbcJ8oy8vu-ajWfaRqwqiBuHKnwDJk+-Sp2NCM7mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-22 23:00                               ` Micah Morton
     [not found]                                 ` <CAJ-EccP1AqqjE0jfjGag4xv1Ox8fY0E6vXQvudKy+xnvaeti_A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-23  1:10                                   ` Alex Deucher
     [not found]                                     ` <CADnq5_OMgNfUauHxsmctHV31-ac+O9keWvJ2kfpAmjv0sob=hQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-23 16:55                                       ` Micah Morton
     [not found]                                         ` <CAJ-EccPRbOXkVXh8jiqeKSgB9VSX71biuNn5zPgeh3PM9bxW5Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-05-23 19:18                                           ` Micah Morton
  -- strict thread matches above, loose matches on Subject: below --
2019-05-15 18:14 Micah Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.