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

Commit 91625086 authored by Rajeshwar Kurapaty's avatar Rajeshwar Kurapaty
Browse files

ARM: dts: msm: Add secure display heap configuration for LAGOON

Add secure display heap configuration to enable secure memory
allocations for secure display/camera usecases.

Change-Id: If412b4bbab2681d305e2075f9a2512e63b759036
parent 05d8fdcf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -22,5 +22,11 @@
				token = <0x20000000>;
			};
		};

		qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
			reg = <10>;
			memory-region = <&secure_display_memory>;
			qcom,ion-heap-type = "HYP_CMA";
		};
	};
};
+8 −0
Original line number Diff line number Diff line
@@ -435,6 +435,14 @@
			reg = <0x0 0x9f400000 0x0 0x1e00000>;
		};

		secure_display_memory: secure_display_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
			reusable;
			alignment = <0 0x400000>;
			size = <0 0x8c00000>;
		};

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