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

Commit ab212039 authored by Neeti Desai's avatar Neeti Desai
Browse files

ARM: dts: msm8996: Add support for secure display heap



Add support for the secure cma heap which is needed
for memory allocation for secure display usecases.

Change-Id: Ia29d73e70fe31c16991143e7210454bfbb2a39b0
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent 9beb1c6d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
/* Copyright (c) 2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -32,6 +32,12 @@
			qcom,ion-heap-type = "DMA";
		};

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

		qcom,ion-heap@9 {
			reg = <9>;
			qcom,ion-heap-type = "SYSTEM_SECURE";
+7 −0
Original line number Diff line number Diff line
@@ -156,6 +156,13 @@
			size = <0 0x1400000>;
		};

		secure_display_memory: secure_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
			reusable;
			alignment = <0 0x200000>;
			size = <0 0x5c00000>;
		};
		modem_mem: modem_region@88800000 {
			compatible = "removed-dma-pool";
			no-map;