]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dma-buf/sync_file: improve Kconfig description for Sync Files
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 31 May 2016 14:33:16 +0000 (11:33 -0300)
committerSumit Semwal <sumit.semwal@linaro.org>
Wed, 13 Jul 2016 14:22:08 +0000 (19:52 +0530)
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>
drivers/dma-buf/Kconfig

index 9824bc4addf856d4b674b47d15058a74fa0f74e7..25bcfa0b474fe3bf9c2584ecd4aa799a7262c0c8 100644 (file)
@@ -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 transferred via userspace, using Sync
+         Files fds, to the DRM driver for example. More details at
+         Documentation/sync_file.txt.
+
 endmenu