linux/drivers/media/platform
Niklas Söderlund bea2b6a4e1 media: rcar-vin: Add support for suspend and resume
Add support for suspend and resume by stopping and starting the video
pipeline while still retaining all buffers given to the driver by
user-space and internally allocated ones, this gives the application a
seamless experience.

Buffers are never returned to user-space unprocessed so user-space don't
notice when suspending. When resuming the driver restarts the capture
session using the internal scratch buffer, this happens before
user-space is unfrozen, this leads to speedy response times once the
application resumes its execution.

As the entire pipeline is stopped on suspend all subdevices in use are
also stopped, and if they enter a shutdown state when not streaming
(such as the R-Car CSI-2 driver) they too will be suspended and resumed
in sync with the VIN driver.

To be able to do keep track of which VINs should be resumed a new
internal state SUSPENDED is added to recode this.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-16 10:31:10 +01:00
..
am437x
atmel
cadence
coda media: coda: Clarify interrupt registered name 2020-11-16 10:31:09 +01:00
davinci
exynos4-is media: exynos4-is: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
exynos-gsc
marvell-ccic media: marvell-ccic: Fix -Wunused-function warnings 2020-11-16 10:31:07 +01:00
mtk-jpeg media: platform: add missing put_device() call in mtk_jpeg_clk_init() 2020-11-16 10:31:09 +01:00
mtk-mdp media: mtk-mdp: Fix Null pointer dereference when calling list_add 2020-09-26 10:23:48 +02:00
mtk-vcodec media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_enc_pm() 2020-11-16 10:31:10 +01:00
mtk-vpu media: mtk-vpu: no need to check return value of debugfs_create functions 2020-09-01 14:13:26 +02:00
omap
omap3isp media: omap3isp: Fix memleak in isp_probe 2020-09-10 14:09:25 +02:00
qcom media: camss: Fix a reference count leak. 2020-09-27 10:53:11 +02:00
rcar-vin media: rcar-vin: Add support for suspend and resume 2020-11-16 10:31:10 +01:00
rockchip/rga media: rockchip/rga: Fix a reference count leak. 2020-09-27 10:52:34 +02:00
s3c-camif media: s3c-camif: use semicolons rather than commas to separate statements 2020-11-16 10:31:06 +01:00
s5p-g2d
s5p-jpeg
s5p-mfc media: platform: s5p-mfc: Fix adding a standard frame skip mode control 2020-10-01 09:27:47 +02:00
sti media: st-delta: Fix reference count leak in delta_run_work 2020-09-27 10:56:07 +02:00
stm32 media: stm32-dcmi: Fix a reference count leak 2020-09-27 10:53:52 +02:00
sunxi media: sun4i-csi: use semicolons rather than commas to separate statements 2020-11-16 10:31:06 +01:00
ti-vpe media: ti-vpe: Fix a missing check and reference count leak 2020-09-27 10:54:11 +02:00
vsp1 drm next for 5.10-rc1 2020-10-15 10:46:16 -07:00
xilinx
aspeed-video.c media: media/platform: drop vb2_queue_release() 2020-08-28 15:02:26 +02:00
fsl-viu.c media: Bulk remove BUG_ON(in_interrupt()) 2020-11-16 10:31:10 +01:00
imx-pxp.c
imx-pxp.h
Kconfig media: rcar-fcp: Update description for VIDEO_RENESAS_FCP Kconfig entry 2020-09-26 10:54:05 +02:00
m2m-deinterlace.c
Makefile
mx2_emmaprp.c media: mx2_emmaprp: Fix memleak in emmaprp_probe 2020-09-26 10:15:39 +02:00
pxa_camera.c media: pxa_camera: Use fallthrough pseudo-keyword 2020-11-16 10:31:09 +01:00
rcar_drif.c media: rcar_drif: Allocate v4l2_async_subdev dynamically 2020-09-10 14:27:04 +02:00
rcar_fdp1.c
rcar_jpu.c
rcar-fcp.c media: platform: fcp: Fix a reference count leak. 2020-09-27 10:52:52 +02:00
renesas-ceu.c media: Use fallthrough pseudo-keyword 2020-08-29 08:35:27 +02:00
sh_vou.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
via-camera.c
via-camera.h
video-mux.c