Skip to content
  • Philipp Zabel's avatar
    v4l2allocator: support orphaning · 0948ce04
    Philipp Zabel authored and Nicolas Dufresne's avatar Nicolas Dufresne committed
    Recent kernels allow REQBUFS(0) on a queue that still has buffers in
    use (mmapped or exported via dmabuf), orphaning all buffers on the queue.
    
    Orphaning the allocator causes it to release all buffers with
    REQBUFS(0), even if they are still in use. An orphaned allocator can
    only be stopped. It can not be restarted or create new buffers.
    0948ce04