search for: virtio_dma_buf_export_info

Displaying 7 results from an estimated 7 matches for "virtio_dma_buf_export_info".

2020 Jun 04
2
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...xported object > + * > + * This wraps dma_buf_export() to allow virtio drivers to create a dma-buf > + * for an virtio exported object that can be queried by other virtio drivers > + * for the object's UUID. > + */ > +struct dma_buf *virtio_dma_buf_export( > + const struct virtio_dma_buf_export_info *virtio_exp_info) > +{ > + struct dma_buf_export_info exp_info; > + > + if (!virtio_exp_info->ops > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach > + || !virtio_exp_info->ops->get_uuid) { > + return ERR_PTR(-EINVAL); > + } > + >...
2020 Jun 04
2
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...xported object > + * > + * This wraps dma_buf_export() to allow virtio drivers to create a dma-buf > + * for an virtio exported object that can be queried by other virtio drivers > + * for the object's UUID. > + */ > +struct dma_buf *virtio_dma_buf_export( > + const struct virtio_dma_buf_export_info *virtio_exp_info) > +{ > + struct dma_buf_export_info exp_info; > + > + if (!virtio_exp_info->ops > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach > + || !virtio_exp_info->ops->get_uuid) { > + return ERR_PTR(-EINVAL); > + } > + >...
2020 Jun 19
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...to create a dma-buf > > > > + * for an virtio exported object that can be queried by other virtio drivers > > > > + * for the object's UUID. > > > > + */ > > > > +struct dma_buf *virtio_dma_buf_export( > > > > + const struct virtio_dma_buf_export_info *virtio_exp_info) > > > > +{ > > > > + struct dma_buf_export_info exp_info; > > > > + > > > > + if (!virtio_exp_info->ops > > > > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach > > > &gt...
2020 Jun 08
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...orted object that can be queried by other virtio drivers > > > > > > > + * for the object's UUID. > > > > > > > + */ > > > > > > > +struct dma_buf *virtio_dma_buf_export( > > > > > > > + const struct virtio_dma_buf_export_info *virtio_exp_info) > > > > > > > +{ > > > > > > > + struct dma_buf_export_info exp_info; > > > > > > > + > > > > > > > + if (!virtio_exp_info->ops > > > > > > > + || virtio...
2020 Jun 08
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...gt; > > > + * for an virtio exported object that can be queried by other virtio drivers > > > > > + * for the object's UUID. > > > > > + */ > > > > > +struct dma_buf *virtio_dma_buf_export( > > > > > + const struct virtio_dma_buf_export_info *virtio_exp_info) > > > > > +{ > > > > > + struct dma_buf_export_info exp_info; > > > > > + > > > > > + if (!virtio_exp_info->ops > > > > > + || virtio_exp_info->ops->ops.attach != &virtio_dm...
2020 Jun 06
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...to allow virtio drivers to create a dma-buf > > > + * for an virtio exported object that can be queried by other virtio drivers > > > + * for the object's UUID. > > > + */ > > > +struct dma_buf *virtio_dma_buf_export( > > > + const struct virtio_dma_buf_export_info *virtio_exp_info) > > > +{ > > > + struct dma_buf_export_info exp_info; > > > + > > > + if (!virtio_exp_info->ops > > > + || virtio_exp_info->ops->ops.attach != &virtio_dma_buf_attach > > > + || !virt...
2020 Jun 09
0
[PATCH v5 0/3] Support virtio cross-device resources
...Besides that, for virtio parts: Acked-by: Michael S. Tsirkin <mst at redhat.com> > [1] https://markmail.org/thread/2ypjt5cfeu3m6lxu > [2] https://markmail.org/thread/p5d3k566srtdtute > [3] https://markmail.org/thread/j4xlqaaim266qpks > > v4 -> v5 changes: > - Remove virtio_dma_buf_export_info. > > David Stevens (3): > virtio: add dma-buf support for exported objects > virtio-gpu: add VIRTIO_GPU_F_RESOURCE_UUID feature > drm/virtio: Support virtgpu exported resources > > drivers/gpu/drm/virtio/virtgpu_drv.c | 3 + > drivers/gpu/drm/virtio/virtgpu_drv.h...