1
0
Fork 0
remarkable-linux/drivers/media/platform/coda
Lucas Stach 8b8470fdf4 [media] coda/imx-vdoa: always wait for job completion
As long as only one CODA context is running we get alternating device_run()
and wait_for_completion() calls, but when more then one CODA context is
active, other VDOA slots can be inserted between those calls for one context.

Make sure to wait on job completion before running a different context and
before destroying the currently active context.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-06-20 09:04:21 -03:00
..
Makefile [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
coda-bit.c [media] coda: first step at error recovery 2017-06-20 09:03:51 -03:00
coda-common.c [media] coda: first step at error recovery 2017-06-20 09:03:51 -03:00
coda-gdi.c [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-h264.c [media] coda: disable reordering for baseline profile h.264 streams 2017-03-22 10:06:26 -03:00
coda-jpeg.c [media] coda: relax coda_jpeg_check_buffer for trailing bytes 2015-12-23 14:02:14 -02:00
coda.h [media] coda: first step at error recovery 2017-06-20 09:03:51 -03:00
coda_regs.h [media] coda: disable BWB for all codecs on CODA 960 2017-03-22 10:06:23 -03:00
imx-vdoa.c [media] coda/imx-vdoa: always wait for job completion 2017-06-20 09:04:21 -03:00
imx-vdoa.h [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
trace.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00