Re: [PATCH] arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved

From: Caleb Connolly
Date: Tue Jan 31 2023 - 05:46:49 EST




On 1/24/23 18:28, Amit Pundir wrote:
Put cont splash memory region under the reserved-memory
as confirmed by the downstream code as well.

Can we put the framebuffer region in sdm845.dtsi? afaik the only device with a non-standard address for this is Cheza, and the SDM850 devices. All other devices (even the sdm845 Sony ones) have it at the same address and size. The other reserved-memory regions are basically just whatever MTP/QRD uses anyway.

shift-axolotl currently reserves the wrong size (it only reserves the size needed for it's resolution), the OnePlus 6 is also missing the region.

Signed-off-by: Amit Pundir <amit.pundir@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
index f41c6d600ea8..2ae59432cbda 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts
@@ -100,6 +100,14 @@ hdmi_con: endpoint {
};
};
+ reserved-memory {
+ /* Cont splash region set up by the bootloader */
+ cont_splash_mem: framebuffer@9d400000 {
+ reg = <0x0 0x9d400000 0x0 0x2400000>;
+ no-map;
+ };
+ };
+
lt9611_1v8: lt9611-vdd18-regulator {
compatible = "regulator-fixed";
regulator-name = "LT9611_1V8";

--
--
Kind Regards,
Caleb (they/them)