arm64: dts: vdin: use discontinus way to alloc cma
authorxuhua zhang <xuhua.zhang@amlogic.com>
Wed, 18 Jul 2018 09:37:39 +0000 (17:37 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Fri, 20 Jul 2018 05:52:54 +0000 (22:52 -0700)
PD#170275: arm64: dts: vdin: use discontinus way to alloc cma

Change-Id: I9a0ed8e612a98f5558f90df2b91b3384e954b9e4
Signed-off-by: xuhua zhang <xuhua.zhang@amlogic.com>
arch/arm64/boot/dts/amlogic/txl_t950_p341.dts
arch/arm64/boot/dts/amlogic/txl_t960_p346.dts
arch/arm64/boot/dts/amlogic/txl_t962_p320.dts
arch/arm64/boot/dts/amlogic/txl_t962_p321.dts
arch/arm64/boot/dts/amlogic/txlx_t962e_r321.dts
arch/arm64/boot/dts/amlogic/txlx_t962e_r321_buildroot.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_1g.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_2g.dts
arch/arm64/boot/dts/amlogic/txlx_t962x_r311_720p.dts

index 07c69b4..e6a33ce 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index 6d578dc..8cee2b1 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index d69b272..b792d3e 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index 733f324..743eef8 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index f376b8a..e391344 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index 8cb1790..3a65f1d 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index df8ffd6..ed37de2 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index 580fb80..51c1476 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M
index 0f5d8e0..07f32c1 100644 (file)
                dev_name = "vdin0";
                status = "okay";
                reserve-iomap = "true";
-               flag_cma = <1>;/*1:share with codec_mm;2:cma alone*/
+               /*bit0:(1:share with codec_mm;0:cma alone)*/
+               /*bit8:(1:alloc in discontinus way;0:alone in continuous way)*/
+               flag_cma = <0x101>;
                /* MByte, if 10bit disable: 64M(YUV422),
                 * if 10bit enable: 64*1.5 = 96M(YUV422)
                 * if support 4K2K-YUV444-10bit-WR:3840*2160*4*4 ~= 128M