162304fb1SGustavo Padovanmenu "DMABUF options" 262304fb1SGustavo Padovan 362304fb1SGustavo Padovanconfig SYNC_FILE 431954660SGustavo Padovan bool "Explicit Synchronization Framework" 562304fb1SGustavo Padovan default n 662304fb1SGustavo Padovan select ANON_INODES 762304fb1SGustavo Padovan select DMA_SHARED_BUFFER 862304fb1SGustavo Padovan ---help--- 931954660SGustavo Padovan The Sync File Framework adds explicit syncronization via 1031954660SGustavo Padovan userspace. It enables send/receive 'struct fence' objects to/from 1131954660SGustavo Padovan userspace via Sync File fds for synchronization between drivers via 1231954660SGustavo Padovan userspace components. It has been ported from Android. 1331954660SGustavo Padovan 1431954660SGustavo Padovan The first and main user for this is graphics in which a fence is 1531954660SGustavo Padovan associated with a buffer. When a job is submitted to the GPU a fence 1631954660SGustavo Padovan is attached to the buffer and is transferred via userspace, using Sync 1731954660SGustavo Padovan Files fds, to the DRM driver for example. More details at 1831954660SGustavo Padovan Documentation/sync_file.txt. 1931954660SGustavo Padovan 20*35538d78SGustavo Padovanconfig SW_SYNC 21*35538d78SGustavo Padovan bool "Sync File Validation Framework" 22*35538d78SGustavo Padovan default n 23*35538d78SGustavo Padovan depends on SYNC_FILE 24*35538d78SGustavo Padovan depends on DEBUG_FS 25*35538d78SGustavo Padovan ---help--- 26*35538d78SGustavo Padovan A sync object driver that uses a 32bit counter to coordinate 27*35538d78SGustavo Padovan synchronization. Useful when there is no hardware primitive backing 28*35538d78SGustavo Padovan the synchronization. 29*35538d78SGustavo Padovan 30*35538d78SGustavo Padovan WARNING: improper use of this can result in deadlocking kernel 31*35538d78SGustavo Padovan drivers from userspace. Intended for test and debug only. 32*35538d78SGustavo Padovan 3362304fb1SGustavo Padovanendmenu 34