ARM: shmobile: defconfig: Enable CMA for DMA
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Fri, 18 Nov 2016 15:00:45 +0000 (16:00 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 3 Jan 2017 09:43:59 +0000 (10:43 +0100)
commit77af670a7698bbc4dc9fd8bbd553b33bfb16b68a
tree48d7e5a893a74f1ed91685ffd6d0d096392cbb9c
parent1682a9c5694d228041dc7ff59f49427c83920675
ARM: shmobile: defconfig: Enable CMA for DMA

To be able to use VIN with larger frame sizes CMA memory are needed for
DMA. If this is not enabled trying to capture large frames can result in
errors such as:

rcar-vin e6ef0000.video: dma_alloc_coherent of size 8388608 failed

A CMA area of 64MB are needed for v4l2-compliance to pass on all formats
on the largest possible frame size of 2048x2048.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/configs/shmobile_defconfig