DTS: change T5D device alloc range to 0x30000000 [1/1]

PD#SWPL-145364

Problem:
T5D dts device alloc range blow 0x30000000

Solution:
change T5D device alloc range to 0x30000000

Verify:
on T5D

Change-Id: I8941509563766fa398a22ff9beb83a604f8459e7
Signed-off-by: honghai.song <honghai.song@amlogic.com>
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com>
This commit is contained in:
honghai.song
2024-04-30 15:46:10 +08:00
committed by Luan Yuan
parent fc22ecdc20
commit ad466da590
2 changed files with 12 additions and 4 deletions
@@ -107,6 +107,7 @@
/* 720p STB androidT size 24M */
size = <0x1800000>;
alignment = <0x400000>;
alloc-ranges = <0x30000000 0x10000000>;
};
dmaheap_cma_reserved:heap-gfx {
compatible = "shared-dma-pool";
@@ -159,6 +160,7 @@
no-map;
size = <0x400000>;
alignment = <0x100000>;
alloc-ranges = <0x30000000 0x10000000>;
};
/* vdin0 CMA pool */
@@ -179,6 +181,7 @@
/* 444 mode:1280x720x3x4=12MB */
size = <0x000000>;
alignment = <0x400000>;
alloc-ranges = <0x30000000 0x10000000>;
};
/* global autoconfigured region for contiguous allocations */
@@ -188,7 +191,7 @@
size = <0x800000>;
alignment = <0x400000>;
linux,cma-default;
alloc-ranges = <0x0 0x30000000>;
alloc-ranges = <0x30000000 0x10000000>;
};
};
codec_mm {
@@ -98,8 +98,9 @@
compatible = "shared-dma-pool";
reusable;
/* 720p STB androidU size 40M */
size = <0x2800000>;
size = <0x00000000>;
alignment = <0x400000>;
alloc-ranges = <0x30000000 0x10000000>;
};
dmaheap_fb_reserved:heap-fb {
compatible = "shared-dma-pool";
@@ -107,6 +108,7 @@
/* 720p STB androidU size 24M */
size = <0x1800000>;
alignment = <0x400000>;
alloc-ranges = <0x30000000 0x10000000>;
};
/*di CMA pool */
di_cma_reserved:linux,di_cma {
@@ -137,6 +139,7 @@
size = <0xA800000>;
alignment = <0x400000>;
linux,contiguous-region;
alloc-ranges = <0x30000000 0x10000000>;
};
/* codec shared reserved */
@@ -152,6 +155,7 @@
no-map;
size = <0x400000>;
alignment = <0x100000>;
alloc-ranges = <0x30000000 0x10000000>;
};
/* vdin0 CMA pool */
//vdin0_cma_reserved:linux,vdin0_cma {
@@ -170,8 +174,9 @@
/* up to 1280x720 yuv420 8bit (nv21) and 4 buffers
* 1280x720x1.5x4 = 8 M
*/
size = <0x00800000>;
size = <0x00000000>;
alignment = <0x400000>;
alloc-ranges = <0x30000000 0x10000000>;
};
/* global autoconfigured region for contiguous allocations */
linux,cma {
@@ -180,7 +185,7 @@
size = <0x800000>;
alignment = <0x400000>;
linux,cma-default;
alloc-ranges = <0x0 0x30000000>;
alloc-ranges = <0x30000000 0x10000000>;
};
};
codec_mm {