diff --git a/arch/arm/boot/dts/amlogic/s4_s805x2_aq222_drm_1g.dts b/arch/arm/boot/dts/amlogic/s4_s805x2_aq222_drm_1g.dts index f9c8be4a7..490ede258 100644 --- a/arch/arm/boot/dts/amlogic/s4_s805x2_aq222_drm_1g.dts +++ b/arch/arm/boot/dts/amlogic/s4_s805x2_aq222_drm_1g.dts @@ -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 { diff --git a/arch/arm/boot/dts/amlogic/s7_s805x3_bp202_1g.dts b/arch/arm/boot/dts/amlogic/s7_s805x3_bp202_1g.dts index 744349695..09d300b22 100644 --- a/arch/arm/boot/dts/amlogic/s7_s805x3_bp202_1g.dts +++ b/arch/arm/boot/dts/amlogic/s7_s805x3_bp202_1g.dts @@ -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 {