Hans Verkuil
f8cca8c97a
media: v4l2-mem2mem: support held capture buffers
...
Check for held buffers that are ready to be returned to vb2 in
__v4l2_m2m_try_queue(). This avoids drivers having to handle this
case.
Add v4l2_m2m_buf_done_and_job_finish() to correctly return source
and destination buffers and mark the job as finished while taking
a held destination buffer into account (i.e. that buffer won't be
returned). This has to be done while job_spinlock is held to avoid
race conditions.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl >
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org >
2019-10-21 07:39:10 -03:00
..
2019-07-25 06:30:00 -04:00
2019-07-22 14:43:59 -04:00
2019-06-19 17:09:55 +02:00
2018-02-14 13:23:51 -05:00
2019-06-27 07:19:43 -04:00
2018-07-25 07:11:48 -04:00
2019-10-01 17:19:41 -03:00
2018-02-23 11:44:08 -05:00
2018-02-23 05:27:10 -05:00
2017-12-28 13:16:01 -05:00
2018-02-23 11:44:08 -05:00
2019-08-14 05:04:08 -03:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2017-12-28 13:16:01 -05:00
2018-02-23 11:44:08 -05:00
2019-10-16 11:46:05 -03:00
2019-06-05 11:31:51 -04:00
2019-03-25 14:02:30 -04:00
2019-08-19 13:24:04 -03:00
2019-05-30 11:26:32 -07:00
2019-04-22 11:18:26 -04:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:41 -07:00
2019-03-25 13:26:10 -04:00
2019-01-07 13:20:54 -05:00
2019-06-05 17:36:37 +02:00
2019-10-16 11:48:55 -03:00
2018-09-12 09:29:03 -04:00
2019-06-19 17:09:55 +02:00
2017-12-18 09:06:40 -05:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2019-07-25 08:03:03 -04:00
2019-06-19 17:09:55 +02:00
2019-10-10 13:53:23 -03:00
2019-10-10 11:38:21 -03:00
2018-11-20 13:28:20 -05:00
2019-05-30 11:26:35 -07:00
2018-09-24 09:11:04 -04:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:41 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:53 -07:00
2019-06-19 17:09:55 +02:00
2019-07-25 06:26:49 -04:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:55 +02:00
2019-10-21 07:39:10 -03:00
2018-09-17 13:25:41 -04:00
2019-06-24 14:53:44 -04:00
2019-10-21 07:37:57 -03:00
2016-08-04 08:50:07 -04:00
2019-01-16 11:21:07 -05:00
2017-12-28 13:16:01 -05:00
2019-05-29 08:05:58 -04:00
2019-10-21 07:37:57 -03:00
2015-10-01 08:48:18 -03:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:07 +02:00
2019-07-23 08:19:32 -04:00
2019-03-18 17:24:14 +02:00