linux/drivers/media/platform
Laurent Pinchart 4d346be55d [media] v4l: vsp1: Don't configure RPF memory buffers before calculating offsets
The RPF source memory pointers need to be offset to take the crop
rectangle into account. Offsets are computed in the RPF stream start,
which can happen (when using the DRM pipeline) after calling the RPF
.set_memory() operation that programs the buffer addresses.

The .set_memory() operation tries to guard against the problem by
skipping programming of the registers when the module isn't streaming.
This will however only protect the first use of an RPF in a DRM
pipeline, as in all subsequent uses the module streaming flag will be
set and the .set_memory() operation will use potentially incorrect
offsets.

Fix this by allowing the caller to decide whether to program the
hardware immediately or just cache the addresses. While at it refactor
the memory set code and create a new vsp1_rwpf_set_memory() that cache
addresses and calls the .set_memory() operation to apply them to the
hardware.

As a side effect the driver now writes all three DMA address registers
regardless of the number of planes, and initializes unused addresses to
zero.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-04-13 17:43:57 -03:00
..
am437x [media] am437x-vpfe: fix an uninitialized variable bug 2016-04-13 17:09:55 -03:00
blackfin [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
coda media updates for v4.6-rc1 2016-03-16 18:27:32 -07:00
davinci [media] davinci: ccdc_update_raw_params() frees the wrong thing 2016-01-25 15:15:26 -02:00
exynos4-is [media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device 2016-04-13 17:20:48 -03:00
exynos-gsc [media] exynos-gsc: remove an always false condition 2016-04-13 16:32:01 -03:00
marvell-ccic [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
omap fbdev changes for 4.5 2016-01-18 11:58:31 -08:00
omap3isp [media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device 2016-04-13 17:20:48 -03:00
s3c-camif [media] call media_device_init() before registering the V4L2 device 2016-01-11 12:19:25 -02:00
s5p-g2d [media] s5p-g2d: remove non-device-tree init code 2016-04-13 16:25:17 -03:00
s5p-jpeg [media] s5p-jpeg: Adjust buffer size for Exynos 4412 2016-04-13 16:24:15 -03:00
s5p-mfc [media] s5p-mfc: remove non-device-tree init code 2016-04-13 16:25:43 -03:00
s5p-tv [media] s5p-tv: constify mxr_layer_ops structures 2016-04-13 16:26:33 -03:00
soc_camera [media] soc_camera: rcar_vin: add R-Car Gen 2 and 3 fallback compatibility strings 2016-04-13 17:17:56 -03:00
sti [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
ti-vpe [media] media: ti-vpe: cal: Fix warning: variable dereference before being checked 2016-02-23 07:17:27 -03:00
vivid [media] vivid: set device_caps in video_device 2016-04-13 16:42:09 -03:00
vsp1 [media] v4l: vsp1: Don't configure RPF memory buffers before calculating offsets 2016-04-13 17:43:57 -03:00
xilinx [media] v4l: xilinx: Use the new media graph walk interface 2016-01-11 12:19:19 -02: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] media: ti-vpe: add dependency of HAS_DMA 2016-02-19 08:10:34 -02:00
m2m-deinterlace.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
Makefile [media] timblogiw: move to staging in preparation for removal 2016-02-19 08:10:33 -02:00
mx2_emmaprp.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
rcar_jpu.c [media] rcar_jpu: Add R-Car Gen2 Fallback Compatibility String 2016-02-01 09:48:19 -02:00
sh_veu.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
sh_vou.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
via-camera.c [media] include/media: split I2C headers from V4L2 core 2015-11-17 06:57:11 -02:00
via-camera.h
vim2m.c [media] vim2m: return error if driver registration fails 2016-02-01 07:37:46 -02:00