Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+1
+1
drivers/dma-buf/Kconfig
··· 34 34 bool "userspace dmabuf misc driver" 35 35 default n 36 36 depends on DMA_SHARED_BUFFER 37 + depends on MEMFD_CREATE || COMPILE_TEST 37 38 help 38 39 A driver to let userspace turn memfd regions into dma-bufs. 39 40 Qemu can use this to create host dmabufs for guest framebuffers.