aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/usb/usbvision
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2017-03-16 09:33:05 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-05 03:12:09 -0500
commit01e90464e42e51b118a95ebb0fb002af1e2e79af (patch)
treec00d06140b85cb18df9306ce1fba265a3f106ff3 /drivers/media/usb/usbvision
parentc50c9c1e659d8de9c13441f243e7938413be6e71 (diff)
media: uvcvideo: queue: Support asynchronous buffer handling
The buffer queue interface currently operates sequentially, processing buffers after they have fully completed. In preparation for supporting parallel tasks operating on the buffers, we will need to support buffers being processed on multiple CPUs. Adapt the uvc_queue_next_buffer() such that a reference count tracks the active use of the buffer, returning the buffer to the VB2 stack at completion. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/usbvision')
0 files changed, 0 insertions, 0 deletions