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

Commit 2036e44c authored by Akshay Chandrashekhar Kalghatgi's avatar Akshay Chandrashekhar Kalghatgi
Browse files

ARM: dts: msm: Add secure display heap

Add a secure display heap of size 164 MB for carveout memory
required to support 3 concurrent secure Video sessions.

Change-Id: I5d88df171370e7f3cc9ad723db1d2736e1bf614f
parent 921514b9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -55,5 +55,11 @@
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
			reg = <ION_SECURE_DISPLAY_HEAP_ID>;
			memory-region = <&secure_display_memory>;
			qcom,ion-heap-type = "HYP_CMA";
		};

	};
};
+8 −0
Original line number Diff line number Diff line
@@ -433,6 +433,14 @@
			size = <0x0 0x1000000>;
		};

		secure_display_memory: secure_display_region { /* Secure UI */
			compatible = "shared-dma-pool";
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			reusable;
			alignment = <0x0 0x400000>;
			size = <0x0 0xA400000>;
		};

		/* global autoconfigured region for contiguous allocations */
		linux,cma {
			compatible = "shared-dma-pool";