dmaheap: add dmaheap support for g12a [1/1]

PD#SWPL-133665

Problem:
g12a need dmaheap support for kernel5.15

Solution:
add dmaheap support

Verify:
g12a

Change-Id: I2095caae4fb9c40a1ee0e681a61981466d9c8201
Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
This commit is contained in:
Yongjie Zhu
2023-08-24 17:07:09 +08:00
committed by yao zhang1
parent d06b53a4c8
commit f29a4521bc
@@ -104,6 +104,19 @@
size = <0x0 0x0>;
alignment = <0x0 0x400000>;
};
dmaheap_cma_reserved:heap-gfx {
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x0>;
alignment = <0x0 0x400000>;
};
dmaheap_fb_reserved:heap-fb {
compatible = "shared-dma-pool";
reusable;
/* 1080p STB androidT size 56M */
size = <0x0 0x3800000>;
alignment = <0x0 0x400000>;
};
//di_reserved:linux,di {
//compatible = "amlogic, di-mem";
/* buffer_size = 3621952(yuv422 8bit) */