diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2016-05-31 11:33:16 -0300 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2016-06-08 18:34:55 +0530 |
commit | 194cad44c4e1553fd8fcfbc940d27e756324ec3a (patch) | |
tree | 67c8e8f02501dcd9ebaeaa73a63aa65beb32f2f0 | |
parent | 46f9f0a68dbd4444758daf72bc16991756a78aaa (diff) |
dma-buf/sync_file: improve Kconfig description for Sync Filesfor-next
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/Kconfig | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig index 9824bc4addf8..7e2d2c49f8ef 100644 --- a/drivers/dma-buf/Kconfig +++ b/drivers/dma-buf/Kconfig @@ -1,11 +1,20 @@ menu "DMABUF options" config SYNC_FILE - bool "sync_file support for fences" + bool "Explicit Synchronization Framework" 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. + The Sync File Framework adds explicit syncronization via + userspace. It enables send/receive 'struct fence' objects to/from + userspace via Sync File fds for synchronization between drivers via + userspace components. It has been ported from Android. + + The first and main user for this is graphics in which a fence is + associated with a buffer. When a job is submitted to the GPU a fence + is attached to the buffer and is transfered via userspace, using Sync + Files fds, to the DRM driver for example. More details at + Documentation/sync_file.txt. + endmenu |