2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/media/platform
Laurent Pinchart e4e70a147a [media] v4l: vsp1: Prevent pipelines from running when not streaming
Pipelines can only be run if all their video nodes are streaming. Commit
b4dfb9b35a ("[media] v4l: vsp1: Stop the pipeline upon the first
STREAMOFF") fixed the pipeline stop sequence, but introduced a race
condition that makes it possible to run a pipeline after stopping the
stream on a video node by queuing a buffer on the other side of the
pipeline.

Fix this by clearing the buffers ready flag when stopping the stream,
which will prevent the QBUF handler from running the pipeline.

Fixes: b4dfb9b35a ("[media] v4l: vsp1: Stop the pipeline upon the first STREAMOFF")

Reported-by: Kieran Bingham <kieran@bingham.xyz>
Tested-by: Kieran Bingham <kieran@bingham.xyz>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-19 14:45:14 -03:00
..
am437x [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
atmel [media] atmel-isc: set the format on the first open 2016-09-19 14:15:48 -03:00
blackfin [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
coda [media] media: coda: Fix probe() if reset controller is missing 2016-07-08 16:34:59 -03:00
davinci [media] vpbe_display: convert g/s_crop to g/s_selection 2016-08-24 09:52:53 -03:00
exynos4-is [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00
exynos-gsc [media] gsc-m2m: improve v4l2_capability driver and card fields 2016-08-24 13:31:11 -03:00
marvell-ccic [media] mcam-core: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:13:30 -03:00
mtk-vcodec [media] vcodec: mediatek: Add V4L2_CAP_TIMEPERFRAME capability setting 2016-09-19 12:53:20 -03:00
mtk-vpu [media] VPU: mediatek: remove redundant dev_err call in mtk_vpu_probe() 2016-07-13 08:00:23 -03:00
omap [media] omap_vout: convert g/s_crop to g/s_selection 2016-08-24 09:49:44 -03:00
omap3isp [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00
rcar-vin [media] v4l2-subdev: rename cropcap to g_pixelaspect 2016-08-24 09:55:15 -03:00
s3c-camif [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
s5p-g2d [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
s5p-jpeg [media] media: s5p-jpeg add missing blank lines after declarations 2016-08-24 13:36:57 -03:00
s5p-mfc [media] s5p-mfc: Remove deprecated create_singlethread_workqueue 2016-08-24 13:37:18 -03:00
soc_camera [media] media: platform: pxa_camera: move pxa_camera out of soc_camera 2016-09-09 10:54:11 -03:00
sti [media] st-hva: add H.264 video encoding support 2016-09-09 10:34:32 -03:00
ti-vpe [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
vivid [media] vivid: fix error return code in vivid_create_instance() 2016-09-19 14:18:42 -03:00
vsp1 [media] v4l: vsp1: Prevent pipelines from running when not streaming 2016-09-19 14:45:14 -03:00
xilinx [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
Kconfig [media] pxa_camera: allow building it if COMPILE_TEST is set 2016-09-09 10:55:13 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: Fix error print during probe 2016-08-25 09:47:12 -03:00
Makefile [media] pxa_camera: merge soc_mediabus.c into pxa_camera.c 2016-09-12 06:42:24 -03:00
mx2_emmaprp.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
pxa_camera.c [media] pxa_camera: remove duplicated include from pxa_camera.c 2016-09-19 14:18:14 -03:00
rcar_jpu.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
rcar-fcp.c [media] v4l: rcar-fcp: Extend compatible list to support the FDP 2016-09-09 11:31:00 -03:00
sh_veu.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
sh_vou.c [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
via-camera.c [media] via-camera: use v4l2_s_ctrl instead of the s_ctrl op 2016-07-12 11:14:04 -03:00
via-camera.h
vim2m.c [media] vim2m: copy the other colorspace-related fields as well 2016-07-28 20:13:56 -03:00