Skip to content

Support virtio cross-device resources

David Stevens dri-devel linux-media lkml oe-kbuild-all virtio-dev virtualization 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyIn review
  2. v63 patches 2 repliesSuperseded
  3. v53 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v43 patches13 repliesSuperseded
v34 patches16 repliesSuperseded
v24 patches6 repliesSuperseded
v12 patches4 repliesSuperseded

Changes in v7 from the cover letter

- Fix most strict checkpatch comments

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3virtio: add dma-buf support for exported objectsdrivers/virtio/Makefile drivers/virtio/virtio.c drivers/virtio/virtio_dma_buf.c +2 more+130 -11 reply
2/3virtio-gpu: add VIRTIO_GPU_F_RESOURCE_UUID featureinclude/uapi/linux/virtio_gpu.h+19 -00 replies
3/3drm/virtio: Support virtgpu exported resourcesdrivers/gpu/drm/virtio/virtgpu_drv.c drivers/gpu/drm/virtio/virtgpu_drv.h drivers/gpu/drm/virtio/virtgpu_kms.c +2 more+176 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.

Read the v7 thread

Cover letter [PATCH v7 0/3] Support virtio cross-device resources

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
Signature · 6 lines
2.28.0.220.ged08abb693-goog


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]