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

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

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

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

Change-Id: I5f9521c19bab48c0a5789d3b6cd79fb04d13a853
parent d5cd9521
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -13,5 +13,11 @@
			reg = <9>;
			qcom,ion-heap-type = "SYSTEM_SECURE";
		};

		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
@@ -244,6 +244,14 @@
			size = <0 0x800000>;
		};

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

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