diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-02-28 12:12:21 -0700 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2017-03-07 21:01:52 +0200 |
commit | fd2694a112d6b53eba8d8e182fef0dccdab6c9e8 (patch) | |
tree | 6a5896e377c7c0626dc6bb367b16a8fc8b1f89dd /arch/arm/configs | |
parent | d3b6e2706dbb7595cf4e5e59ffffe4528ee02517 (diff) | |
download | op-kernel-dev-fd2694a112d6b53eba8d8e182fef0dccdab6c9e8.zip op-kernel-dev-fd2694a112d6b53eba8d8e182fef0dccdab6c9e8.tar.gz |
ARM: exynos_defconfig: Increase CONFIG_CMA_SIZE_MBYTES to 96
Current CMA size of 64 Mbytes is right on the edge of being small when
several drivers need to allocate large CMA buffers.
For example, if the s5p-mfc driver needs to pre-allocate CMA memory to
decode a H.264 1080p video, then there won't be enough CMA memory left
for other drivers, such as the exynos-drm driver that may need to
allocate GEM buffers for the display manager.
Increasing CMA size to 96 Mbytes in exynos_defconfig addresses use-cases
such as these.
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/configs')
-rw-r--r-- | arch/arm/configs/exynos_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index ed38259..6dc661c 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -53,7 +53,7 @@ CONFIG_RFKILL_REGULATOR=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=64 +CONFIG_CMA_SIZE_MBYTES=96 CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_CRYPTOLOOP=y CONFIG_BLK_DEV_RAM=y |