summaryrefslogtreecommitdiff
path: root/drivers/dma-buf/Kconfig
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2016-04-28 16:46:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-30 03:37:10 +0300
commit62304fb1fc0801925568e191261b650e1546ce8c (patch)
tree08b95e26606d3bd4cf8f4a097fbcfa1fbc11e677 /drivers/dma-buf/Kconfig
parent460bfc41fd52959311ed0328163f785e023857af (diff)
downloadlinux-62304fb1fc0801925568e191261b650e1546ce8c.tar.xz
dma-buf/sync_file: de-stage sync_file
sync_file is useful to connect one or more fences to the file. The file is used by userspace to track fences between drivers that share DMA bufs. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma-buf/Kconfig')
-rw-r--r--drivers/dma-buf/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig
new file mode 100644
index 000000000000..9824bc4addf8
--- /dev/null
+++ b/drivers/dma-buf/Kconfig
@@ -0,0 +1,11 @@
+menu "DMABUF options"
+
+config SYNC_FILE
+ bool "sync_file support for fences"
+ default n
+ select ANON_INODES
+ select DMA_SHARED_BUFFER
+ ---help---
+ This option enables the fence framework synchronization to export
+ sync_files to userspace that can represent one or more fences.
+endmenu