summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2019-09-14 22:08:02 +0530
committerAmit Pundir <amit.pundir@linaro.org>2019-09-14 22:08:02 +0530
commit93b2d644e402460d46158fc679ee1517d32a32de (patch)
treee179a659467da3f872b0810cb47742507e2d0e7d
parentdb14bf296e2999208c2537f12fc37d1b7c35e9f4 (diff)
db845c_defconfig: Enable ION heaps
MediaCodec2 has a hard dependency on ION now. It crashes com.android.systemui otherwise. So enable all the heaps just to be safe. E ion : open /dev/ion failed: No such file or directory F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 4216 (NDK MediaCodec_), pid 3938 (ndroid.systemui) F DEBUG : pid: 3938, tid: 4216, name: NDK MediaCodec_ >>> com.android.systemui <<< F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 F DEBUG : Cause: null pointer dereference Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--arch/arm64/configs/db845c_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/configs/db845c_defconfig b/arch/arm64/configs/db845c_defconfig
index b7bdc2ab2438..25b29dea4ee6 100644
--- a/arch/arm64/configs/db845c_defconfig
+++ b/arch/arm64/configs/db845c_defconfig
@@ -648,6 +648,11 @@ CONFIG_VFIO_PCI=y
# CONFIG_XEN_GRANT_DEV_ALLOC is not set
CONFIG_STAGING=y
CONFIG_ASHMEM=y
+CONFIG_ION=y
+CONFIG_ION_SYSTEM_HEAP=y
+CONFIG_ION_CARVEOUT_HEAP=y
+CONFIG_ION_CHUNK_HEAP=y
+CONFIG_ION_CMA_HEAP=y
CONFIG_COMMON_CLK_VERSATILE=y
CONFIG_CLK_SP810=y
CONFIG_CLK_VEXPRESS_OSC=y