Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a26118c authored by Ramkumar Radhakrishnan's avatar Ramkumar Radhakrishnan
Browse files

ARM: dts: msm: Add entry for non secure display heap memory

1. Add entry to reserve 100 MB contiguous memory from non secure
   display heap to allocate demura buffers and image buffer for
   TUI use case
2. Allocated buffers from this heap will be exported to secondary
   VM to use it for composition during TUI session

Change-Id: I02df4631610099fbb7c01a716b4c2144db5c8722
parent 10409ef5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -67,5 +67,10 @@
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@3 { /* NON SECURE DISPLAY HEAP */
			reg = <ION_DISPLAY_HEAP_ID>;
			memory-region = <&non_secure_display_memory>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+8 −0
Original line number Diff line number Diff line
@@ -517,6 +517,14 @@
			reg = <0x0 0xe3300000 0x0 0x0100000>;
			label = "dfps_data_region";
		};

		non_secure_display_memory: non_secure_display_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			reusable;
			alignment = <0x0 0x400000>;
			size = <0x0 0x6400000>;
		};
	};

	chosen {