Skip to content

Commit 4178a29

Browse files
jayxurockchiprkhuangtao
authored andcommitted
ARM: dts: rockchip: rk312x-android: put device cma to NORMAL zone
NORMAL zone limits at 0x90000000. The device cma region which is used by camera should be set to NORMAL zone to avold memory fragment. The device cma region info: [ 0.000000] Reserved memory: created CMA memory pool at 0x88000000, size 24 MiB [ 0.000000] Reserved memory: initialized node region@8f000000, compatible id shared-dma-pool The default cma region info: [ 0.000000] cma: Reserved 16 MiB at 0x9f000000 Change-Id: I8b1a099c5fa3a2d90acf709c4272d88b97e0c5bd Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
1 parent 041149c commit 4178a29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/boot/dts/rk312x-android.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@
123123
#size-cells = <1>;
124124
ranges;
125125

126-
cma_region: cma-region {
126+
cma_region: region@88000000 {
127127
compatible = "shared-dma-pool";
128128
reusable;
129-
size = <0x1000000>;
129+
reg = <0x88000000 0x1800000>;
130130
};
131131

132132
ramoops_mem: ramoops@68000000 {

0 commit comments

Comments
 (0)