mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
dts: sm1: camera preview would cause garbage [1/1]
PD#SWPL-11884 Problem: camera preview would cause garbage. Solution: modify the previous change:38e45fb998269d36f41a7b004be51ba9f1e7bef9 not to remove vdin0_cma_reserved. Verify: test passed on sm1 Change-Id: Ie20de9b3562f7c83fa73bd88acab7770ca8c3b0a Signed-off-by: changqing.gao <changqing.gao@amlogic.com>
This commit is contained in:
@@ -120,13 +120,13 @@
|
||||
//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";
|
||||
@@ -713,7 +713,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -136,13 +136,13 @@
|
||||
//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";
|
||||
@@ -1696,7 +1696,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -127,13 +127,13 @@
|
||||
//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";
|
||||
@@ -1771,7 +1771,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -136,13 +136,13 @@
|
||||
//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";
|
||||
@@ -1713,7 +1713,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -136,13 +136,13 @@
|
||||
//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";
|
||||
@@ -1713,7 +1713,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -136,13 +136,13 @@
|
||||
//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";
|
||||
@@ -1704,7 +1704,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -136,13 +136,13 @@
|
||||
//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";
|
||||
@@ -1621,7 +1621,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -127,13 +127,13 @@
|
||||
//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";
|
||||
@@ -1700,7 +1700,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -121,13 +121,13 @@
|
||||
//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";
|
||||
@@ -715,7 +715,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -134,13 +134,13 @@
|
||||
//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";
|
||||
@@ -1679,7 +1679,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -125,13 +125,13 @@
|
||||
//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";
|
||||
@@ -1758,7 +1758,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -134,13 +134,13 @@
|
||||
//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";
|
||||
@@ -1711,7 +1711,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -134,13 +134,13 @@
|
||||
//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";
|
||||
@@ -1712,7 +1712,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -134,13 +134,13 @@
|
||||
//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";
|
||||
@@ -1702,7 +1702,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -134,13 +134,13 @@
|
||||
//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";
|
||||
@@ -1684,7 +1684,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
@@ -125,13 +125,13 @@
|
||||
//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";
|
||||
@@ -1776,7 +1776,7 @@
|
||||
|
||||
/*if you want to use vdin just modify status to "ok"*/
|
||||
&vdin0 {
|
||||
/*memory-region = <&vdin0_cma_reserved>;*/
|
||||
memory-region = <&vdin0_cma_reserved>;
|
||||
status = "okay";
|
||||
/*vdin write mem color depth support:
|
||||
*bit0:support 8bit
|
||||
|
||||
Reference in New Issue
Block a user