* Bind amdgpu to SR-IOV virtual function
@ 2016-08-25 15:00 Dennis Schridde
2016-08-25 15:44 ` Alex Deucher
0 siblings, 1 reply; 4+ messages in thread
From: Dennis Schridde @ 2016-08-25 15:00 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1345 bytes --]
Hello!
I investigating the virtualisation abilities of current AMD FirePro hardware;
specifically how to securely pass a share of a GPU to one application (a Rkt/
Docker container). I already read vfio.txt and pci-iov-howto.txt, but they do
not answer my questions. I was unable to find documentation on the process
online, either.
1. How do I create VFs from a AMD FirePro PF? I saw an example using VMWare
ESXi tools, where it is possible to specify RAM size and time-share, but I
have not seen how that translates to modifying /sys/bus/pci/..., which is the
method recommended for SR-IOV devices in pci-iov-howto.txt.
2. After having created VFs, is it possible to bind these to the host's amdgpu
driver, so that I get multiple /dev/dri/card* device nodes?
3. Will passing these /dev/dri/card* device nodes into a Rkt/Docker container
be enough for the AMD Radeon Pro OpenGL runtime to be able to use that card?
Best regards,
Dennis Schridde
--
Heidelberg University Computing Centre
Service division: Future IT - Research & Education
Tel. +49 6221 54-4519, Fax +49 6221 54-5581
dennis.schridde-axtXthT+lymYbFdUjOg7S7NAH6kLmebB@public.gmane.org
http://www.urz.uni-heidelberg.de/
Ruprecht-Karls-Universität Heidelberg
Universitätsrechenzentrum
Im Neuenheimer Feld 293, 69120 Heidelberg, Germany
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 681 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bind amdgpu to SR-IOV virtual function
2016-08-25 15:00 Bind amdgpu to SR-IOV virtual function Dennis Schridde
@ 2016-08-25 15:44 ` Alex Deucher
[not found] ` <CADnq5_PFpcM78ZtcfmDMdXboriz7MeLq7Ob+ZFWSOyVcNvoevQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Alex Deucher @ 2016-08-25 15:44 UTC (permalink / raw)
To: Dennis Schridde; +Cc: amd-gfx list
On Thu, Aug 25, 2016 at 11:00 AM, Dennis Schridde
<dennis.schridde@uni-heidelberg.de> wrote:
> Hello!
>
> I investigating the virtualisation abilities of current AMD FirePro hardware;
> specifically how to securely pass a share of a GPU to one application (a Rkt/
> Docker container). I already read vfio.txt and pci-iov-howto.txt, but they do
> not answer my questions. I was unable to find documentation on the process
> online, either.
>
> 1. How do I create VFs from a AMD FirePro PF? I saw an example using VMWare
> ESXi tools, where it is possible to specify RAM size and time-share, but I
> have not seen how that translates to modifying /sys/bus/pci/..., which is the
> method recommended for SR-IOV devices in pci-iov-howto.txt.
>
> 2. After having created VFs, is it possible to bind these to the host's amdgpu
> driver, so that I get multiple /dev/dri/card* device nodes?
>
> 3. Will passing these /dev/dri/card* device nodes into a Rkt/Docker container
> be enough for the AMD Radeon Pro OpenGL runtime to be able to use that card?
SR-IOV support is not yet upstream for Linux.
Alex
>
> Best regards,
> Dennis Schridde
> --
> Heidelberg University Computing Centre
> Service division: Future IT - Research & Education
>
> Tel. +49 6221 54-4519, Fax +49 6221 54-5581
> dennis.schridde@uni-heidelberg.de
>
> http://www.urz.uni-heidelberg.de/
>
> Ruprecht-Karls-Universität Heidelberg
> Universitätsrechenzentrum
> Im Neuenheimer Feld 293, 69120 Heidelberg, Germany
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bind amdgpu to SR-IOV virtual function
[not found] ` <CADnq5_PFpcM78ZtcfmDMdXboriz7MeLq7Ob+ZFWSOyVcNvoevQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-08-25 15:51 ` Dennis Schridde
2016-08-25 15:55 ` Alex Deucher
0 siblings, 1 reply; 4+ messages in thread
From: Dennis Schridde @ 2016-08-25 15:51 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
[-- Attachment #1.1: Type: text/plain, Size: 208 bytes --]
On Thursday, 25 August 2016 11:44:08 CEST Alex Deucher wrote:
> SR-IOV support is not yet upstream for Linux.
Where do I ask about the abilities of the binary driver? Is there another
mailinglist?
--Dennis
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 681 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bind amdgpu to SR-IOV virtual function
2016-08-25 15:51 ` Dennis Schridde
@ 2016-08-25 15:55 ` Alex Deucher
0 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2016-08-25 15:55 UTC (permalink / raw)
To: Dennis Schridde; +Cc: amd-gfx list
On Thu, Aug 25, 2016 at 11:51 AM, Dennis Schridde
<dennis.schridde@uni-heidelberg.de> wrote:
> On Thursday, 25 August 2016 11:44:08 CEST Alex Deucher wrote:
>> SR-IOV support is not yet upstream for Linux.
>
> Where do I ask about the abilities of the binary driver? Is there another
> mailinglist?
There is no binary kernel driver. The Pro stack uses the open source
amdgpu kernel driver and just adds closed source usermode components
like OpenGL. We haven't released SR-IOV support yet on Linux.
Alex
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-25 15:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 15:00 Bind amdgpu to SR-IOV virtual function Dennis Schridde
2016-08-25 15:44 ` Alex Deucher
[not found] ` <CADnq5_PFpcM78ZtcfmDMdXboriz7MeLq7Ob+ZFWSOyVcNvoevQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-25 15:51 ` Dennis Schridde
2016-08-25 15:55 ` Alex Deucher
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.