linux_dsm_epyc7002/drivers/media/v4l2-core
Hans Verkuil 803a7ab758 media: v4l2-mem2mem: add vb2_m2m_request_queue
For mem2mem devices we have to make sure that v4l2_m2m_try_schedule()
is called whenever a request is queued.

We do that by creating a vb2_m2m_request_queue() helper that should
be used instead of the 'normal' vb2_request_queue() helper. The m2m
helper function will call v4l2_m2m_try_schedule() as needed.

In addition we also avoid calling v4l2_m2m_try_schedule() when preparing
or queueing a buffer for a request since that is no longer needed.
Instead this helper function will do that when the request is actually
queued.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-31 11:24:02 -04:00
..
Kconfig media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Makefile media: v4l2-core: get rid of videobuf-dvb 2018-05-04 10:57:31 -04:00
tuner-core.c media: add tuner standby op, use where needed 2018-03-21 12:05:39 -04:00
v4l2-async.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
v4l2-clk.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
v4l2-common.c media: v4l: common: Remove v4l2_find_nearest_format 2018-03-21 11:21:33 -04:00
v4l2-compat-ioctl32.c media: videodev2.h: Add request_fd field to v4l2_buffer 2018-08-31 11:16:57 -04:00
v4l2-ctrls.c media: v4l2-ctrls: add v4l2_ctrl_request_hdl_find/put/ctrl_find functions 2018-08-31 11:13:09 -04:00
v4l2-dev.c media: v4l2-dev: lock req_queue_mutex 2018-08-31 11:07:51 -04:00
v4l2-device.c media: v4l2-ctrls: v4l2_ctrl_add_handler: add from_other_dev 2018-08-31 11:09:34 -04:00
v4l2-dv-timings.c media: v4l2-dv-timings: Introduce v4l2_calc_timeperframe helper 2018-08-31 10:02:45 -04:00
v4l2-event.c Convert v4l2 event to struct_size 2018-06-12 16:19:22 -07:00
v4l2-fh.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
v4l2-flash-led-class.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
v4l2-fwnode.c media updates for v4.19-rc1 2018-08-15 18:29:14 -07:00
v4l2-ioctl.c media: videodev2.h: Add request_fd field to v4l2_buffer 2018-08-31 11:16:57 -04:00
v4l2-mc.c media: v4l2-core: v4l2-mc: Add SPDX license identifier 2018-02-26 07:42:03 -05:00
v4l2-mem2mem.c media: v4l2-mem2mem: add vb2_m2m_request_queue 2018-08-31 11:24:02 -04:00
v4l2-subdev.c media: v4l2-ctrls: support g/s_ext_ctrls for requests 2018-08-31 11:12:29 -04:00
v4l2-trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
videobuf-core.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
videobuf-dma-contig.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
videobuf-dma-sg.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
videobuf-vmalloc.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00