Responding to my own e-mail here, but I just realized one little thing.
>Pawel Osciak wrote:
[snip]
>+void videobuf_buf_finish(struct videobuf_queue *q, struct videobuf_buffer *vb)
>+{
>+ unsigned long flags;
>+
>+ spin_lock_irqsave(&q->vb_done_lock, flags);
>+ list_add_tail(&vb
Drivers can now finish processing on and return video buffers in
an arbitrary order. Before this patch, this was possible in a FIFO order
only. This is useful e.g. for video codecs, which often need to hold some
buffers (e.g. keyframes) for longer periods of time than others.
Signed-off-by: Pawel