[PATCH 1/2] virtio: add dma-buf support for exported objects

Gerd Hoffmann kraxel at redhat.com
Tue Feb 25 06:10:08 UTC 2020


On Wed, Feb 19, 2020 at 05:06:36PM +0900, David Stevens wrote:
> This change adds a new flavor of dma-bufs that can be used by virtio
> drivers to share exported objects. A virtio dma-buf can be queried by
> virtio drivers to obtain the UUID which identifies the underlying
> exported object.

That duplicates a bunch of code from dma-buf.c in virtio_dma_buf.c.

How about dma_buf_{get,set}_uuid, simliar to dma_buf_set_name?

cheers,
  Gerd



More information about the dri-devel mailing list