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

Commit c3e15fc1 authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan
Browse files

ARM: dts: msm: convert SPSS heap into secure CMA heap type for sdm845



ION content protection is applicable only for secure CMA heap types.
Hence, convert SPSS heap into secure CMA type for its usecase.

Change-Id: I3af5db08ea10e9e8046d1ea5a4c99c7602f54802
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent ce38f15d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2016-2017, 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
@@ -33,10 +33,10 @@
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@13 { /* SPSS HEAP */
		qcom,ion-heap@13 { /* SECURE SPSS HEAP */
			reg = <13>;
			memory-region = <&sp_mem>;
			qcom,ion-heap-type = "DMA";
			memory-region = <&secure_sp_mem>;
			qcom,ion-heap-type = "HYP_CMA";
		};

		qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@
			size = <0 0x1400000>;
		};

		sp_mem: sp_region {  /* SPSS-HLOS ION shared mem */
		secure_sp_mem: secure_sp_region { /* SPSS-HLOS ION shared mem */
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */
			reusable;