diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2018-05-02 23:31:40 +0200 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2018-05-13 09:55:21 -0700 |
commit | ebf089248dab2ef569e5e26a607f0977a71182b7 (patch) | |
tree | 47077312820cf50c5a6a2e426b99d705cce6b28a /arch/arm64/configs | |
parent | dce4c94eedbd35cd63aa04ee9b022de6d23ee587 (diff) | |
download | blackbird-obmc-linux-ebf089248dab2ef569e5e26a607f0977a71182b7.tar.gz blackbird-obmc-linux-ebf089248dab2ef569e5e26a607f0977a71182b7.zip |
arm64: defconfig: Increase CMA size for VC4
The VC4 needs more memory than the default setting (16 MB):
vc4-drm soc:gpu: swiotlb: coherent allocation failed, size=16777216
[drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
vc4_v3d 3fc00000.v3d: Failed to allocate memory for tile binning: -12.
You may need to enable CMA or give it more memory.
vc4-drm soc:gpu: failed to bind 3fc00000.v3d (ops vc4_v3d_ops [vc4]): -12
vc4-drm soc:gpu: master bind failed: -12
vc4-drm: probe of soc:gpu failed with error -12
So increase the value to 32 MB and fix this issue.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm64/configs')
-rw-r--r-- | arch/arm64/configs/defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 8ac1feafe563..a9c27d9cf97e 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -170,6 +170,7 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=32 CONFIG_MTD=y CONFIG_MTD_BLOCK=y CONFIG_MTD_M25P80=y |