[virtio-dev] [PATCH v2 4/4] drm/virtio: Support virtgpu exported resources

Gerd Hoffmann kraxel at redhat.com
Wed Mar 4 08:05:43 UTC 2020


On Tue, Mar 03, 2020 at 11:42:22AM +0900, David Stevens wrote:
> > cmd_p->hdr.ctx_id =
> >
> > Before this completion of this hypercall, this resource can be
> > considered context local, while afterward it can be considered
> > "exported".
> 
> Maybe I'm misunderstanding render contexts, but exporting a resource
> doesn't seem related to render contexts.

It isn't indeed.  Binding resources to contexts might need dma-buf
imports/exports on the host side, but that is another story and not
related to dma-buf exports inside the guest.

cheers,
  Gerd



More information about the dri-devel mailing list