mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
dts: Ion and vdin0 CMA Memory Optimization [1/1]
PD#SWPL-5896 Problem: The memory consumption of modules ion and vdin0 is too large Solution: Ion CMA memory optimization to 32M,vdin0 to 160M Verify: X301、T309 Change-Id: If9e54390baeda6d330bb2c96b14ef3975333a2f1 Signed-off-by: qingwei.xu <qingwei.xu@amlogic.com>
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x8000000>;
|
||||
size = <0x2000000>;
|
||||
alignment = <0x400000>;
|
||||
};
|
||||
|
||||
@@ -513,7 +513,7 @@
|
||||
*if support 4K2K-YUV422-8BIT-WR:3840*2160*2*4 ~= 64M
|
||||
*if support 1080p-YUV422-8BIT-WR:1920*1080*2*4 ~= 16M
|
||||
*/
|
||||
cma_size = <190>;
|
||||
cma_size = <160>;
|
||||
interrupts = <0 83 1>;
|
||||
rdma-irq = <2>;
|
||||
clocks = <&clkc CLKID_FCLK_DIV5>,
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x8000000>;
|
||||
size = <0x2000000>;
|
||||
alignment = <0x400000>;
|
||||
};
|
||||
|
||||
@@ -516,7 +516,7 @@
|
||||
*if support 4K2K-YUV422-8BIT-WR:3840*2160*2*4 ~= 64M
|
||||
*if support 1080p-YUV422-8BIT-WR:1920*1080*2*4 ~= 16M
|
||||
*/
|
||||
cma_size = <190>;
|
||||
cma_size = <160>;
|
||||
interrupts = <0 83 1>;
|
||||
rdma-irq = <2>;
|
||||
clocks = <&clkc CLKID_FCLK_DIV5>,
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x2000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
@@ -511,7 +511,7 @@
|
||||
*if support 4K2K-YUV422-8BIT-WR:3840*2160*2*4 ~= 64M
|
||||
*if support 1080p-YUV422-8BIT-WR:1920*1080*2*4 ~= 16M
|
||||
*/
|
||||
cma_size = <190>;
|
||||
cma_size = <160>;
|
||||
interrupts = <0 83 1>;
|
||||
rdma-irq = <2>;
|
||||
clocks = <&clkc CLKID_FCLK_DIV5>,
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x2000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
@@ -511,7 +511,7 @@
|
||||
*if support 4K2K-YUV422-8BIT-WR:3840*2160*2*4 ~= 64M
|
||||
*if support 1080p-YUV422-8BIT-WR:1920*1080*2*4 ~= 16M
|
||||
*/
|
||||
cma_size = <190>;
|
||||
cma_size = <160>;
|
||||
interrupts = <0 83 1>;
|
||||
rdma-irq = <2>;
|
||||
clocks = <&clkc CLKID_FCLK_DIV5>,
|
||||
|
||||
Reference in New Issue
Block a user