From ad60a42cd79713984065dca8540c091c49755f32 Mon Sep 17 00:00:00 2001 From: Anders Dellien Date: Wed, 8 Dec 2021 21:57:21 +0000 Subject: [PATCH] feat(tc): add reserved memory region for Gralloc Gralloc for Android S uses dmabuf, we need to add reserved memory area for these allocations Signed-off-by: Anders Dellien Change-Id: If869ac930fadc374ec435cae3847ba374584275b --- fdts/tc.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fdts/tc.dts b/fdts/tc.dts index f5ad1a606..891a4c903 100644 --- a/fdts/tc.dts +++ b/fdts/tc.dts @@ -206,6 +206,13 @@ #size-cells = <2>; ranges; + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0x0 0x8000000>; + linux,cma-default; + }; + optee@0xfce00000 { reg = <0x00000000 0xfce00000 0 0x00200000>; no-map;