summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem
diff options
context:
space:
mode:
authorKieran Bingham2017-03-16 14:33:05 +0100
committerMauro Carvalho Chehab2018-12-05 09:12:09 +0100
commit01e90464e42e51b118a95ebb0fb002af1e2e79af (patch)
treec00d06140b85cb18df9306ce1fba265a3f106ff3 /drivers/nvmem
parentmedia: uvcvideo: queue: Simplify spin-lock usage (diff)
downloadkernel-qcow2-linux-01e90464e42e51b118a95ebb0fb002af1e2e79af.tar.gz
kernel-qcow2-linux-01e90464e42e51b118a95ebb0fb002af1e2e79af.tar.xz
kernel-qcow2-linux-01e90464e42e51b118a95ebb0fb002af1e2e79af.zip
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/nvmem')
0 files changed, 0 insertions, 0 deletions