From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Amit Pundir <amit.pundir@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Caleb Connolly <caleb.connolly@linaro.org>,
linux-arm-msm <linux-arm-msm@vger.kernel.org>,
dt <devicetree@vger.kernel.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved
Date: Tue, 31 Jan 2023 15:33:19 +0200 [thread overview]
Message-ID: <8508e3d5-7468-0b2f-5a43-7c439ecf2d8b@linaro.org> (raw)
In-Reply-To: <1a840d88-e5b1-711c-b980-f57620c54472@linaro.org>
On 31/01/2023 14:45, Konrad Dybcio wrote:
>
>
> On 31.01.2023 12:06, Dmitry Baryshkov wrote:
>> On Tue, 31 Jan 2023 at 12:54, Bryan O'Donoghue
>> <bryan.odonoghue@linaro.org> wrote:
>>>
>>> On 24/01/2023 18:28, Amit Pundir wrote:
>>>> Put cont splash memory region under the reserved-memory
>>>> as confirmed by the downstream code as well.
>>>>
>>>> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
>>>> ---
>>>> 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";
>>>
>>> Doesn't this mean we loose 0x2400000 of DRAM for all rb3 platforms
>>> though ? About what 37 megabytes.. ?
>>
>> I think this memory is further used for display memory allocation. So
>> we are not loosing it, but dedicating it to the framebuffer memory.
> Not exactly, to do so, you'd have to use the memory-region property
> with mdss, which nobody does. Otherwise it's just a hole for Linux.
Then maybe it's time to start using that property?
>
> Konrad
>>
>>
--
With best wishes
Dmitry
next prev parent reply other threads:[~2023-01-31 13:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-24 18:28 [PATCH] arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved Amit Pundir
2023-01-31 10:46 ` Caleb Connolly
2023-01-31 10:54 ` Bryan O'Donoghue
2023-01-31 11:06 ` Dmitry Baryshkov
2023-01-31 12:45 ` Konrad Dybcio
2023-01-31 13:33 ` Dmitry Baryshkov [this message]
2023-02-09 9:05 ` Amit Pundir
2023-02-09 11:03 ` Bryan O'Donoghue
2023-02-09 12:08 ` Konrad Dybcio
2023-02-09 12:11 ` Bryan O'Donoghue
2023-02-09 12:22 ` Bryan O'Donoghue
2023-02-09 12:32 ` Konrad Dybcio
2023-02-09 13:54 ` Dmitry Baryshkov
2023-04-10 8:51 ` Amit Pundir
2023-04-10 8:54 ` Amit Pundir
2023-04-10 12:44 ` Bryan O'Donoghue
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8508e3d5-7468-0b2f-5a43-7c439ecf2d8b@linaro.org \
--to=dmitry.baryshkov@linaro.org \
--cc=agross@kernel.org \
--cc=amit.pundir@linaro.org \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=caleb.connolly@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).