Kconfig 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. menu "DMABUF options"
  2. config SYNC_FILE
  3. bool "Explicit Synchronization Framework"
  4. default n
  5. select DMA_SHARED_BUFFER
  6. ---help---
  7. The Sync File Framework adds explicit syncronization via
  8. userspace. It enables send/receive 'struct dma_fence' objects to/from
  9. userspace via Sync File fds for synchronization between drivers via
  10. userspace components. It has been ported from Android.
  11. The first and main user for this is graphics in which a fence is
  12. associated with a buffer. When a job is submitted to the GPU a fence
  13. is attached to the buffer and is transferred via userspace, using Sync
  14. Files fds, to the DRM driver for example. More details at
  15. Documentation/sync_file.txt.
  16. config SW_SYNC
  17. bool "Sync File Validation Framework"
  18. default n
  19. depends on SYNC_FILE
  20. depends on DEBUG_FS
  21. ---help---
  22. A sync object driver that uses a 32bit counter to coordinate
  23. synchronization. Useful when there is no hardware primitive backing
  24. the synchronization.
  25. WARNING: improper use of this can result in deadlocking kernel
  26. drivers from userspace. Intended for test and debug only.
  27. endmenu