Kconfig 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. menu "DMABUF options"
  2. config SYNC_FILE
  3. bool "Explicit Synchronization Framework"
  4. default n
  5. select ANON_INODES
  6. select DMA_SHARED_BUFFER
  7. ---help---
  8. 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. The first and main user for this is graphics in which a fence is
  13. associated with a buffer. When a job is submitted to the GPU a fence
  14. is attached to the buffer and is transferred via userspace, using Sync
  15. Files fds, to the DRM driver for example. More details at
  16. Documentation/sync_file.txt.
  17. config SW_SYNC
  18. bool "Sync File Validation Framework"
  19. default n
  20. depends on SYNC_FILE
  21. depends on DEBUG_FS
  22. ---help---
  23. A sync object driver that uses a 32bit counter to coordinate
  24. synchronization. Useful when there is no hardware primitive backing
  25. the synchronization.
  26. WARNING: improper use of this can result in deadlocking kernel
  27. drivers from userspace. Intended for test and debug only.
  28. endmenu