Re: [PATCH] videobuf2: call buf_finish() on unprocessed buffers

2011-09-03 Thread Mauro Carvalho Chehab
Em 24-07-2011 19:10, Pawel Osciak escreveu: Hi Jon, There is a misunderstanding here. This patch will call buf_finish for some buffers twice. A buffer does not get removed from queued_list even if it is on the done_list. A buffer gets into the queued_list on qbuf, gets into the done_list

Re: [PATCH] videobuf2: call buf_finish() on unprocessed buffers

2011-07-24 Thread Pawel Osciak
Hi Jon, There is a misunderstanding here. This patch will call buf_finish for some buffers twice. A buffer does not get removed from queued_list even if it is on the done_list. A buffer gets into the queued_list on qbuf, gets into the done_list after an operation is finished and is removed from

RE: [PATCH] videobuf2: call buf_finish() on unprocessed buffers

2011-07-15 Thread Marek Szyprowski
Hello, On Thursday, July 14, 2011 11:10 PM Jonathan Corbet wrote: When user space stops streaming, there may be buffers which have been given to buf_prepare() and which may or may not have been passed to buf_queue(). The videobuf2 core simply takes those buffers back; if buf_prepare() does

[PATCH] videobuf2: call buf_finish() on unprocessed buffers

2011-07-14 Thread Jonathan Corbet
When user space stops streaming, there may be buffers which have been given to buf_prepare() and which may or may not have been passed to buf_queue(). The videobuf2 core simply takes those buffers back; if buf_prepare() does work that needs cleaning up (like setting up a DMA mapping), that cleanup