linux_old1/drivers/media/platform/vsp1
Laurent Pinchart 3dbb610014 [media] v4l: vsp1: Set the alpha value manually in RPF and WPF s_stream handlers
The RPF and WPF alpha values are set through V4L2 controls and applied
when starting the video stream by a call to v4l2_ctrl_handler_setup().
As that function uses the control handler mutex it can't be called in
interrupt context, where the VSP+DU pipeline handler might need to
reconfigure the pipeline.

Set the alpha value manually in the RPF and WPF s_stream handler to
ensure that the hardware is properly configured even when controlled
without the userspace API. If the userspace API is enabled protect that
with the control lock to avoid race conditions with userspace.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-19 09:24:32 -02:00
..
Makefile [media] v4l: vsp1: Split pipeline management code from vsp1_video.c 2016-02-19 09:04:52 -02:00
vsp1.h [media] v4l: vsp1: Make the userspace API optional 2016-02-19 09:19:55 -02:00
vsp1_bru.c [media] v4l: vsp1: Make number of BRU inputs configurable 2016-02-19 09:16:07 -02:00
vsp1_bru.h [media] v4l: vsp1: Make number of BRU inputs configurable 2016-02-19 09:16:07 -02:00
vsp1_drv.c [media] v4l: vsp1: Make the userspace API optional 2016-02-19 09:19:55 -02:00
vsp1_entity.c [media] v4l: vsp1: Make the userspace API optional 2016-02-19 09:19:55 -02:00
vsp1_entity.h [media] v4l: vsp1: Make number of BRU inputs configurable 2016-02-19 09:16:07 -02:00
vsp1_hsit.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
vsp1_hsit.h [media] v4l: vsp1: Add HST and HSI support 2013-12-11 09:22:44 -02:00
vsp1_lif.c [media] v4l: vsp1: Remove unused module read functions 2016-02-19 09:13:30 -02:00
vsp1_lif.h [media] v4l: vsp1: Update copyright notice 2014-03-12 10:41:51 -03:00
vsp1_lut.c [media] v4l: vsp1: Remove unused module read functions 2016-02-19 09:13:30 -02:00
vsp1_lut.h [media] v4l: vsp1: Add LUT support 2013-12-11 09:25:20 -02:00
vsp1_pipe.c [media] v4l: vsp1: Make pipeline inputs array index by RPF index 2016-02-19 09:22:38 -02:00
vsp1_pipe.h [media] v4l: vsp1: Make pipeline inputs array index by RPF index 2016-02-19 09:22:38 -02:00
vsp1_regs.h [media] v4l: vsp1: Fix typo in VI6_DISP_IRQ_STA_DST register bit name 2016-02-19 09:11:34 -02:00
vsp1_rpf.c [media] v4l: vsp1: Set the alpha value manually in RPF and WPF s_stream handlers 2016-02-19 09:24:32 -02:00
vsp1_rwpf.c [media] v4l: vsp1: Align crop rectangle to even boundary for YUV formats 2015-07-06 08:26:08 -03:00
vsp1_rwpf.h [media] v4l: vsp1: Set the alpha value manually in RPF and WPF s_stream handlers 2016-02-19 09:24:32 -02:00
vsp1_sru.c [media] v4l: vsp1: Make the userspace API optional 2016-02-19 09:19:55 -02:00
vsp1_sru.h [media] v4l: vsp1: sru: Make the intensity controllable during streaming 2014-07-17 12:44:54 -03:00
vsp1_uds.c [media] v4l: vsp1: Remove unused module read functions 2016-02-19 09:13:30 -02:00
vsp1_uds.h [media] v4l: vsp1: uds: Fix scaling of alpha layer 2014-07-17 12:45:00 -03:00
vsp1_video.c [media] v4l: vsp1: Make pipeline inputs array index by RPF index 2016-02-19 09:22:38 -02:00
vsp1_video.h [media] v4l: vsp1: Move format info to vsp1_pipe.c 2016-02-19 09:18:12 -02:00
vsp1_wpf.c [media] v4l: vsp1: Set the alpha value manually in RPF and WPF s_stream handlers 2016-02-19 09:24:32 -02:00