linux_dsm_epyc7002/drivers/media/usb/uvc
Kieran Bingham 01e90464e4 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>
2018-12-05 03:12:09 -05:00
..
Kconfig [media] uvc: Depend on VIDEO_V4L2 2013-06-24 22:54:40 -03:00
Makefile media: uvcvideo: Add a metadata device node 2018-01-04 06:41:47 -05:00
uvc_ctrl.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
uvc_debugfs.c media: uvcvideo: Remove unnecessary NULL check before debugfs_remove_recursive 2018-09-11 08:42:10 -04:00
uvc_driver.c media: uvcvideo: Refactor teardown of uvc on USB disconnect 2018-12-03 14:16:02 -05:00
uvc_entity.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
uvc_isight.c media: uvcvideo: Convert decode functions to use new context structure 2018-12-05 03:07:41 -05:00
uvc_metadata.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
uvc_queue.c media: uvcvideo: queue: Support asynchronous buffer handling 2018-12-05 03:12:09 -05:00
uvc_status.c media: uvcvideo: Refactor teardown of uvc on USB disconnect 2018-12-03 14:16:02 -05:00
uvc_v4l2.c media updates for v4.20-rc1 2018-10-31 10:53:29 -07:00
uvc_video.c media: uvcvideo: Protect queue internals with helper 2018-12-05 03:10:06 -05:00
uvcvideo.h media: uvcvideo: queue: Support asynchronous buffer handling 2018-12-05 03:12:09 -05:00