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

Commit 545e7324 authored by Laura Abbott's avatar Laura Abbott
Browse files

ARM: dts: msm: Move audio heaps over to use reserved CMA regions



Carveout regions are being deprecated. Convert the audio heaps over
to use a reserved CMA region instead of a carveout. At a later time,
the audio regions may be converted over to a fully functional CMA region.

Change-Id: I70d9c671ff118400ee60e669062a7b2092931536
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 70303845
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -52,10 +52,8 @@
		qcom,ion-heap@28 { /* AUDIO HEAP */
			compatible = "qcom,msm-ion-reserve";
			reg = <28>;
			qcom,heap-align = <0x1000>;
			qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
			qcom,memory-reservation-size = <0x314000>;
			qcom,ion-heap-type = "CARVEOUT";
			linux,contiguous-region = <&audio_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@23 { /* OTHER PIL HEAP */
+6 −0
Original line number Diff line number Diff line
@@ -49,6 +49,12 @@
			label = "fb_mem";
		};

		audio_mem: audio_region {
			linux,contiguous-region;
			linux,reserve-region;
			reg = <0 0x314000>;
			label = "audio_mem";
		};
	};

	soc: soc { };
+2 −4
Original line number Diff line number Diff line
@@ -52,10 +52,8 @@
		qcom,ion-heap@28 { /* AUDIO HEAP */
			compatible = "qcom,msm-ion-reserve";
			reg = <28>;
			qcom,heap-align = <0x1000>;
			qcom,memory-reservation-type = "EBI1"; /* reserve EBI memory */
			qcom,memory-reservation-size = <0x614000>;
			qcom,ion-heap-type = "CARVEOUT";
			linux,contiguous-region = <&audio_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@23 { /* OTHER PIL HEAP */
+6 −0
Original line number Diff line number Diff line
@@ -94,6 +94,12 @@
			label = "fb_mem";
		};

		audio_mem: audio_region {
			linux,contiguous-region;
			linux,reserve-region;
			reg = <0 0x614000>;
			lable = "audio_mem";
		};
	};

	soc: soc { };