diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-11 15:42:09 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-09-12 08:21:30 +0200 |
commit | 68d2f70efe2d622483c5cde7c27179a695285fb0 (patch) | |
tree | b9fc82e23af22bfaee6fb0975d4f9623eaab19bc /drivers/dma-buf | |
parent | udmabuf: constify udmabuf_create args (diff) | |
download | linux-68d2f70efe2d622483c5cde7c27179a695285fb0.tar.xz linux-68d2f70efe2d622483c5cde7c27179a695285fb0.zip |
udmabuf: add MEMFD_CREATE dependency
udmabuf builds without it, but if userspace can not create memfd
handles in the first place it is rather pointless to include it,
except for test builds.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-7-kraxel@redhat.com
Diffstat (limited to 'drivers/dma-buf')
-rw-r--r-- | drivers/dma-buf/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig index 338129eb126f..2e5a0faa2cb1 100644 --- a/drivers/dma-buf/Kconfig +++ b/drivers/dma-buf/Kconfig @@ -34,6 +34,7 @@ config UDMABUF bool "userspace dmabuf misc driver" default n depends on DMA_SHARED_BUFFER + depends on MEMFD_CREATE || COMPILE_TEST help A driver to let userspace turn memfd regions into dma-bufs. Qemu can use this to create host dmabufs for guest framebuffers. |