arm64: dtsi: sabrina: Add reserved ion-fb-mem space to ion_dev staging/lineage-20
authorme2151 <dillonbrosche@gmail.com>
Sun, 8 May 2022 04:43:29 +0000 (04:43 +0000)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 4 Aug 2022 23:49:48 +0000 (01:49 +0200)
* We already reserve the space in dts but its
  not being called upon from dtsi.

* This fixes screen blanking during Toasts and
  other pop up messages.

* [npjohnson]: Pull the original definition from SM1 deadpool
  DTS.

Change-Id: I51f7aa6d0953b42c358a4ab963cc4cd72e1f35c3

arch/arm64/boot/dts/amlogic/mesonsm1_sabrina.dtsi
arch/arm64/boot/dts/amlogic/sm1_s905d3_sabrina.dts

index cc1d3c13dd88310e0e66d8ebeb8eddb3801c1b81..665c29f738c1f71b0fef57db91c9d65f36f439d2 100644 (file)
 
                ion_dev {
                        compatible = "amlogic, ion_dev";
-                       memory-region = <&ion_cma_reserved>;
+                       memory-region = <&ion_cma_reserved
+                                                       &ion_fb_reserved>;
                };/* end of ion_dev*/
 
                audiobus: audiobus@0xFF660000 {
index 8a14864d6e76e4e2068401aee72fb0330a30521c..3c2e2bb90181ee4c730dcebbb7a0fd95f1e30a2c 100644 (file)
                        size = <0x0 0x8000000>;
                        alignment = <0x0 0x400000>;
                };
+               ion_fb_reserved:linux,ion-fb {
+                       compatible = "amlogic, ion-fb-mem";
+                       reusable;
+                       /* 1920x1080x4x3 round up 4M align */
+                       size = <0x0 0x1c00000>;
+                       alignment = <0x0 0x400000>;
+               };
                //di_reserved:linux,di {
                        //compatible = "amlogic, di-mem";
                        /* buffer_size = 3621952(yuv422 8bit) */