linux/drivers/media/platform
Marek Szyprowski 60641e2259 [media] s5p-mfc: Use preallocated block allocator always for MFC v6+
It turned out that all versions of MFC v6+ hardware doesn't have a strict
requirement for ALL buffers to be allocated on higher addresses than the
firmware base like it was documented for MFC v5. This requirement is true
only for the device and per-context buffers. All video data buffers can be
allocated anywhere for all MFC v6+ versions. Basing on this fact, the
special DMA configuration based on two reserved memory regions is not
really needed for MFC v6+ devices, because the memory requirements for the
firmware, device and per-context buffers can be fulfilled by the simple
probe-time pre-allocated block allocator introduced in previous patch.

This patch enables support for such pre-allocated block based allocator
always for MFC v6+ devices. Due to the limitations of the memory management
subsystem the largest supported size of the pre-allocated buffer when no
CMA (Contiguous Memory Allocator) is enabled is 4 MiB.

This patch also removes the requirement to provide two reserved memory
regions for MFC v6+ devices in device tree. Now the driver is fully
functional without them.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Tested-by: Smitha T Murthy <smitha.t@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-04-05 16:34:47 -03:00
..
am437x [media] am437x-vpfe: always assign bpp variable 2017-01-30 15:43:40 -02:00
atmel [media] atmel-isc: fix off-by-one comparison and out of bounds read issue 2017-04-05 15:06:38 -03:00
blackfin [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
coda [media] coda: fix warnings when compiling with 64 bits 2017-03-22 10:09:17 -03:00
davinci [media] media: vpif: use a configurable i2c_adapter_id for vpif display 2017-03-22 11:55:56 -03:00
exynos-gsc [media] exynos-gsc: Do not swap cb/cr for semi planar formats 2017-03-22 09:50:07 -03:00
exynos4-is scripts/spelling.txt: add "aligment" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
marvell-ccic [media] marvell-ccic: don't break long lines 2016-10-21 09:30:46 -02:00
mtk-jpeg [media] media: mtk-jpeg: fix continuous log "Context is NULL" 2017-04-05 15:08:26 -03:00
mtk-mdp [media] mtk-mdp: allocate video_device dynamically 2016-11-22 05:42:29 -02:00
mtk-vcodec [media] vcodec: mediatek: Remove double parentheses 2017-04-05 15:09:20 -03:00
mtk-vpu [media] VPU: mediatek: Fix return value in case of error 2016-10-24 18:11:57 -02:00
omap Linux 4.9-rc5 2016-11-16 16:42:27 -02:00
omap3isp [media] v4l: omap3isp: Clean up file handle in open() and release() 2017-01-31 10:57:58 -02:00
rcar-vin [media] rcar-vin: add R-Car gen2 fallback compatibility string 2016-09-22 12:52:55 -03:00
s3c-camif [media] media: platform: s3c-camif: constify v4l2_subdev_ops structures 2017-02-03 10:58:00 -02:00
s5p-g2d [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
s5p-jpeg [media] squash lines for simple wrapper functions 2016-11-16 13:28:40 -02:00
s5p-mfc [media] s5p-mfc: Use preallocated block allocator always for MFC v6+ 2017-04-05 16:34:47 -03:00
soc_camera [media] soc-camera: fix rectangle adjustment in cropping 2017-03-23 14:45:59 -03:00
sti [media] st-delta: mjpeg: fix static checker warning 2017-04-05 15:04:06 -03:00
ti-vpe [media] media: ti-vpe: vpe: allow use of user specified stride 2017-03-03 14:43:32 -03:00
vivid [media] vivid: fix g_edid implementation 2017-04-05 15:20:57 -03:00
vsp1 [media] v4l: vsp1: Adapt vsp1_du_setup_lif() interface to use a structure 2017-03-07 13:34:11 -03:00
xilinx [media] media: platform: xilinx: xilinx-tpg: constify v4l2_subdev_* structures 2017-02-03 09:21:50 -02:00
arv.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
Kconfig [media] platform: compile VIDEO_CODA with COMPILE_TEST 2017-03-22 10:06:29 -03:00
m2m-deinterlace.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
Makefile [media] vcodec: mediatek: Add Mediatek JPEG Decoder Driver 2017-03-03 08:26:46 -03:00
mx2_emmaprp.c [media] platform: don't break long lines 2016-10-21 10:06:32 -02:00
pxa_camera.c [media] media: platform: pxa_camera: add missing sensor power on 2016-10-24 18:08:12 -02:00
rcar-fcp.c [media] v4l: rcar-fcp: Fix module autoload for OF registration 2016-11-16 13:17:07 -02:00
rcar_fdp1.c [media] v4l: rcar_fdp1: use %4.4s to format a 4-byte string 2017-02-03 11:50:40 -02:00
rcar_jpu.c [media] platform: constify vb2_ops structures 2016-09-19 16:21:06 -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] platform: constify vb2_ops structures 2016-09-19 16:21:06 -03:00
via-camera.c [media] platform: don't break long lines 2016-10-21 10:06:32 -02:00
via-camera.h
vim2m.c [media] vim2m: Clean up file handle in open() error path 2017-01-31 07:44:26 -02:00