summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/Kconfig
diff options
context:
space:
mode:
authorGerd Hoffmann2018-08-27 11:34:44 +0200
committerGerd Hoffmann2018-09-03 13:29:38 +0200
commitfbb0de795078190a9834b3409e4b009cfb18a6d4 (patch)
tree65e82b3e44c500715a6c1045217abc3469ff3530 /drivers/dma-buf/Kconfig
parentdrm: Describe pixel_blend_mode in drm_plane_state (diff)
downloadkernel-qcow2-linux-fbb0de795078190a9834b3409e4b009cfb18a6d4.tar.gz
kernel-qcow2-linux-fbb0de795078190a9834b3409e4b009cfb18a6d4.tar.xz
kernel-qcow2-linux-fbb0de795078190a9834b3409e4b009cfb18a6d4.zip
Add udmabuf misc device
A driver to let userspace turn memfd regions into dma-bufs. Use case: Allows qemu create dmabufs for the vga framebuffer or virtio-gpu ressources. Then they can be passed around to display those guest things on the host. To spice client for classic full framebuffer display, and hopefully some day to wayland server for seamless guest window display. qemu test branch: https://git.kraxel.org/cgit/qemu/log/?h=sirius/udmabuf Cc: David Airlie <airlied@linux.ie> Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: Daniel Vetter <daniel@ffwll.ch> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20180827093444.23623-1-kraxel@redhat.com
Diffstat (limited to 'drivers/dma-buf/Kconfig')
-rw-r--r--drivers/dma-buf/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig
index ed3b785bae37..338129eb126f 100644
--- a/drivers/dma-buf/Kconfig
+++ b/drivers/dma-buf/Kconfig
@@ -30,4 +30,12 @@ config SW_SYNC
WARNING: improper use of this can result in deadlocking kernel
drivers from userspace. Intended for test and debug only.
+config UDMABUF
+ bool "userspace dmabuf misc driver"
+ default n
+ depends on DMA_SHARED_BUFFER
+ help
+ A driver to let userspace turn memfd regions into dma-bufs.
+ Qemu can use this to create host dmabufs for guest framebuffers.
+
endmenu