mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
dts: u212 1g: optimized cma [1/3]
PD#SWPL-492 Problem: system response is slow Solution: optimized cma Verify: Verify by franklin 1g Change-Id: I227fb168fa66566768fd4dbcefcbf100546daabd Signed-off-by: GongWei Chen <gongwei.chen@amlogic.com>
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x8000000>;
|
||||
size = <0x4C00000>;
|
||||
alignment = <0x400000>;
|
||||
alloc-ranges = <0x00000000 0x30000000>;
|
||||
};
|
||||
@@ -124,7 +124,7 @@
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* ion_codec_mm max can alloc size 80M*/
|
||||
size = <0xC400000>;
|
||||
size = <0xd000000>;
|
||||
alignment = <0x400000>;
|
||||
linux,contiguous-region;
|
||||
alloc-ranges = <0x00000000 0x30000000>;
|
||||
@@ -137,19 +137,19 @@
|
||||
//no-map;
|
||||
};
|
||||
/* vdin0 CMA pool */
|
||||
vdin0_cma_reserved:linux,vdin0_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
//vdin0_cma_reserved:linux,vdin0_cma {
|
||||
// compatible = "shared-dma-pool";
|
||||
// reusable;
|
||||
/* 1920x1080x2x4 =16+4 M */
|
||||
size = <0x04000000>;
|
||||
alignment = <0x400000>;
|
||||
};
|
||||
// size = <0x04000000>;
|
||||
// alignment = <0x400000>;
|
||||
//};
|
||||
/* vdin1 CMA pool */
|
||||
vdin1_cma_reserved:linux,vdin1_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 1920x1080x2x4 =16 M */
|
||||
size = <0x04000000>;
|
||||
size = <0x01000000>;
|
||||
alignment = <0x400000>;
|
||||
};
|
||||
};
|
||||
@@ -1150,8 +1150,8 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
status = "disabled";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
*bit1:support 9bit
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
ion_cma_reserved:linux,ion-dev {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x8000000>;
|
||||
size = <0x0 0x4C00000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
//di_reserved:linux,di {
|
||||
@@ -123,7 +123,7 @@
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* ion_codec_mm max can alloc size 80M*/
|
||||
size = <0x0 0xC400000>;
|
||||
size = <0x0 0xd000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
linux,contiguous-region;
|
||||
};
|
||||
@@ -135,19 +135,19 @@
|
||||
//no-map;
|
||||
};
|
||||
/* vdin0 CMA pool */
|
||||
vdin0_cma_reserved:linux,vdin0_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
//vdin0_cma_reserved:linux,vdin0_cma {
|
||||
// compatible = "shared-dma-pool";
|
||||
// reusable;
|
||||
/* 1920x1080x2x4 =16+4 M */
|
||||
size = <0x0 0x04000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
// size = <0x0 0x04000000>;
|
||||
// alignment = <0x0 0x400000>;
|
||||
//};
|
||||
/* vdin1 CMA pool */
|
||||
vdin1_cma_reserved:linux,vdin1_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
/* 1920x1080x2x4 =16 M */
|
||||
size = <0x0 0x04000000>;
|
||||
size = <0x0 0x01000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
};
|
||||
@@ -1148,8 +1148,8 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
status = "disabled";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
*bit1:support 9bit
|
||||
|
||||
Reference in New Issue
Block a user