blob: bf4f34849a8806c205987e808ee7cd963daaeccb [file] [log] [blame]
Gustavo Padovan62304fb2016-04-28 10:46:58 -03001menu "DMABUF options"
2
3config SYNC_FILE
Gustavo Padovan31954662016-05-31 11:33:16 -03004 bool "Explicit Synchronization Framework"
Gustavo Padovan62304fb2016-04-28 10:46:58 -03005 default n
Gustavo Padovan62304fb2016-04-28 10:46:58 -03006 select DMA_SHARED_BUFFER
7 ---help---
Gustavo Padovan31954662016-05-31 11:33:16 -03008 The Sync File Framework adds explicit syncronization via
9 userspace. It enables send/receive 'struct fence' objects to/from
10 userspace via Sync File fds for synchronization between drivers via
11 userspace components. It has been ported from Android.
12
13 The first and main user for this is graphics in which a fence is
14 associated with a buffer. When a job is submitted to the GPU a fence
15 is attached to the buffer and is transferred via userspace, using Sync
16 Files fds, to the DRM driver for example. More details at
17 Documentation/sync_file.txt.
18
Gustavo Padovan35538d72016-08-11 12:26:44 -030019config SW_SYNC
20 bool "Sync File Validation Framework"
21 default n
22 depends on SYNC_FILE
23 depends on DEBUG_FS
24 ---help---
25 A sync object driver that uses a 32bit counter to coordinate
26 synchronization. Useful when there is no hardware primitive backing
27 the synchronization.
28
29 WARNING: improper use of this can result in deadlocking kernel
30 drivers from userspace. Intended for test and debug only.
31
Gustavo Padovan62304fb2016-04-28 10:46:58 -030032endmenu