aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2016-05-31 10:33:16 -0400
committerSumit Semwal <sumit.semwal@linaro.org>2016-07-13 10:22:08 -0400
commit31954660a7a613cd01e6ab1e90e7fea6ca6ffc74 (patch)
treec75a19c7ef6f126e97f9a2754321b9fd41badfbf
parentc483e06506b8614220ed036319fc4c7af787f602 (diff)
dma-buf/sync_file: improve Kconfig description for Sync Files
We've got a complaint saying that the description was quite obtuse and indeed it was. This patch tries to improve it. Cc: Dave Jones <davej@codemonkey.org.uk> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
-rw-r--r--drivers/dma-buf/Kconfig15
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig
index 9824bc4addf8..25bcfa0b474f 100644
--- a/drivers/dma-buf/Kconfig
+++ b/drivers/dma-buf/Kconfig
@@ -1,11 +1,20 @@
1menu "DMABUF options" 1menu "DMABUF options"
2 2
3config SYNC_FILE 3config SYNC_FILE
4 bool "sync_file support for fences" 4 bool "Explicit Synchronization Framework"
5 default n 5 default n
6 select ANON_INODES 6 select ANON_INODES
7 select DMA_SHARED_BUFFER 7 select DMA_SHARED_BUFFER
8 ---help--- 8 ---help---
9 This option enables the fence framework synchronization to export 9 The Sync File Framework adds explicit syncronization via
10 sync_files to userspace that can represent one or more fences. 10 userspace. It enables send/receive 'struct fence' objects to/from
11 userspace via Sync File fds for synchronization between drivers via
12 userspace components. It has been ported from Android.
13
14 The first and main user for this is graphics in which a fence is
15 associated with a buffer. When a job is submitted to the GPU a fence
16 is attached to the buffer and is transferred via userspace, using Sync
17 Files fds, to the DRM driver for example. More details at
18 Documentation/sync_file.txt.
19
11endmenu 20endmenu