All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Support virtio cross-device resources
@ 2020-02-19  8:06 ` David Stevens
  0 siblings, 0 replies; 22+ messages in thread
From: David Stevens @ 2020-02-19  8:06 UTC (permalink / raw)
  To: Gerd Hoffmann, David Airlie
  Cc: Daniel Vetter, Michael S . Tsirkin, Jason Wang, Sumit Semwal,
	David Stevens, linux-kernel, dri-devel, virtualization,
	linux-media, linaro-mm-sig, virtio-dev

This patchset implements the current proposal for virtio cross-device
resource sharing [1], with minor changes based on recent comments (i.e.
renumbering the new virtio gpu command and adding a feature flag).

The patchset adds a new flavor of dma-bufs that supports querying the
underlying virtio object UUID, as well as adding support for exporting
resources from virtgpu. It is expected that this will be used to import
virtgpu resources into the virtio-video driver currently under
discussion [2].

[1] https://markmail.org/thread/jsaoqy7phrqdcpqu
[2] https://markmail.org/thread/p5d3k566srtdtute

David Stevens (2):
  virtio: add dma-buf support for exported objects
  drm/virtio: Support virtgpu exported resources

 drivers/gpu/drm/virtio/virtgpu_drv.c   |   3 +
 drivers/gpu/drm/virtio/virtgpu_drv.h   |  21 +++++
 drivers/gpu/drm/virtio/virtgpu_kms.c   |   4 +
 drivers/gpu/drm/virtio/virtgpu_prime.c | 109 ++++++++++++++++++++++++-
 drivers/gpu/drm/virtio/virtgpu_vq.c    |  58 +++++++++++++
 drivers/virtio/Makefile                |   2 +-
 drivers/virtio/virtio.c                |   6 ++
 drivers/virtio/virtio_dma_buf.c        |  97 ++++++++++++++++++++++
 include/linux/virtio.h                 |   1 +
 include/linux/virtio_dma_buf.h         |  62 ++++++++++++++
 include/uapi/linux/virtio_gpu.h        |  19 +++++
 11 files changed, 378 insertions(+), 4 deletions(-)
 create mode 100644 drivers/virtio/virtio_dma_buf.c
 create mode 100644 include/linux/virtio_dma_buf.h

-- 
2.25.0.265.gbab2e86ba0-goog


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

end of thread, other threads:[~2020-02-26 16:07 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19  8:06 [PATCH 0/2] Support virtio cross-device resources David Stevens
2020-02-19  8:06 ` [virtio-dev] " David Stevens
2020-02-19  8:06 ` David Stevens
2020-02-19  8:06 ` [PATCH 1/2] virtio: add dma-buf support for exported objects David Stevens
2020-02-19  8:06   ` [virtio-dev] " David Stevens
2020-02-19  8:06   ` David Stevens
2020-02-25  6:10   ` Gerd Hoffmann
2020-02-25  6:10     ` [virtio-dev] " Gerd Hoffmann
2020-02-25  6:10     ` Gerd Hoffmann
2020-02-26  3:56     ` [virtio-dev] " David Stevens
2020-02-26  3:56       ` David Stevens
2020-02-26  3:56       ` David Stevens
2020-02-26  3:56       ` David Stevens
2020-02-26 16:07       ` [virtio-dev] " Gerd Hoffmann
2020-02-26 16:07         ` Gerd Hoffmann
2020-02-26 16:07         ` Gerd Hoffmann
2020-02-19  8:06 ` [PATCH 2/2] drm/virtio: Support virtgpu exported resources David Stevens
2020-02-19  8:06   ` [virtio-dev] " David Stevens
2020-02-19  8:06   ` David Stevens
2020-02-25  6:15   ` Gerd Hoffmann
2020-02-25  6:15     ` [virtio-dev] " Gerd Hoffmann
2020-02-25  6:15     ` Gerd Hoffmann

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.