All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Support virtio cross-device resources
@ 2020-08-18  7:13 ` David Stevens
  0 siblings, 0 replies; 16+ messages in thread
From: David Stevens @ 2020-08-18  7:13 UTC (permalink / raw)
  To: Gerd Hoffmann
  Cc: David Airlie, Daniel Vetter, Sumit Semwal, Michael S . Tsirkin,
	Jason Wang, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	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]. It will be used to import virtio resources into
the virtio-video driver currently under discussion [2]. The patch
under consideration to add support in the virtio-video driver is [3].
It uses the APIs from v3 of this series, but the changes to update it
are relatively minor.

This 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.

[1] https://markmail.org/thread/2ypjt5cfeu3m6lxu
[2] https://markmail.org/thread/p5d3k566srtdtute
[3] https://markmail.org/thread/j4xlqaaim266qpks

v6 -> v7 changes:
 - Fix most strict checkpatch comments

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   | 21 ++++++
 drivers/gpu/drm/virtio/virtgpu_kms.c   |  4 ++
 drivers/gpu/drm/virtio/virtgpu_prime.c | 96 +++++++++++++++++++++++++-
 drivers/gpu/drm/virtio/virtgpu_vq.c    | 55 +++++++++++++++
 drivers/virtio/Makefile                |  2 +-
 drivers/virtio/virtio.c                |  6 ++
 drivers/virtio/virtio_dma_buf.c        | 85 +++++++++++++++++++++++
 include/linux/virtio.h                 |  1 +
 include/linux/virtio_dma_buf.h         | 37 ++++++++++
 include/uapi/linux/virtio_gpu.h        | 19 +++++
 11 files changed, 325 insertions(+), 4 deletions(-)
 create mode 100644 drivers/virtio/virtio_dma_buf.c
 create mode 100644 include/linux/virtio_dma_buf.h

-- 
2.28.0.220.ged08abb693-goog


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

end of thread, other threads:[~2020-09-11  9:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-18  7:13 [PATCH v7 0/3] Support virtio cross-device resources David Stevens
2020-08-18  7:13 ` [virtio-dev] " David Stevens
2020-08-18  7:13 ` David Stevens
2020-08-18  7:13 ` [PATCH v7 1/3] virtio: add dma-buf support for exported objects David Stevens
2020-08-18  7:13   ` [virtio-dev] " David Stevens
2020-08-18  7:13   ` David Stevens
2020-08-27 14:07   ` kernel test robot
2020-09-10 15:06   ` Guenter Roeck
2020-09-10 15:06     ` Guenter Roeck
2020-09-10 15:06     ` Guenter Roeck
2020-08-18  7:13 ` [PATCH v7 2/3] virtio-gpu: add VIRTIO_GPU_F_RESOURCE_UUID feature David Stevens
2020-08-18  7:13   ` [virtio-dev] " David Stevens
2020-08-18  7:13   ` David Stevens
2020-08-18  7:13 ` [PATCH v7 3/3] drm/virtio: Support virtgpu exported resources David Stevens
2020-08-18  7:13   ` [virtio-dev] " David Stevens
2020-08-18  7:13   ` David Stevens

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.