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

Commit 8163465b authored by Tharun Kumar Merugu's avatar Tharun Kumar Merugu
Browse files

msm: ADSPRPC: Separate sensors memory from adsp_mem to sdsp_mem



Define ION heap 22 for sensors usecases, with sdsp_mem.
adsp_mem should be used for audio usecases.

Change-Id: I0e9b05e7d82564a33bfcb66ed3e995a01b25ba9c
Acked-by: default avatarBharath Kumar <bkumar@qti.qualcomm.com>
Signed-off-by: default avatarTharun Kumar Merugu <mtharu@codeaurora.org>
parent 94750cca
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -49,5 +49,11 @@
			reg = <9>;
			qcom,ion-heap-type = "SYSTEM_SECURE";
		};

		qcom,ion-heap@22 { /* ADSP HEAP */
			reg = <22>;
			memory-region = <&sdsp_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+9 −1
Original line number Diff line number Diff line
@@ -472,7 +472,15 @@
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
			reusable;
			alignment = <0 0x400000>;
			size = <0 0xc00000>;
			size = <0 0x800000>;
		};

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

		qseecom_ta_mem: qseecom_ta_region {