Commit e3c6386c authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916/39: Fix venus memory size

Both MSM8916 and MSM8939 have unnecessarily large reservations for the
venus firmware for some reason. According to the ELF headers and
downstream [1] 5 MiB is enough. Let's set the minimum size as default.

With the dynamic reserved memory allocations boards can easily override
this if needed, although in practice there does not seem to be any
device with a different venus firmware size.

[1]: https://git.codelinaro.org/clo/la/kernel/msm-3.10/-/blame/LA.BR.1.2.9.1-02310-8x16.0/arch/arm/boot/dts/qcom/msm8939-common.dtsi#L69Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20230911-msm8916-rmem-v1-9-b7089ec3e3a1@gerhold.netSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 35efa1be
...@@ -98,7 +98,7 @@ wcnss_mem: wcnss { ...@@ -98,7 +98,7 @@ wcnss_mem: wcnss {
}; };
venus_mem: venus { venus_mem: venus {
size = <0x0 0x600000>; size = <0x0 0x500000>;
alignment = <0x0 0x100000>; alignment = <0x0 0x100000>;
alloc-ranges = <0x0 0x86800000 0x0 0x8000000>; alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
no-map; no-map;
......
...@@ -370,7 +370,7 @@ wcnss_mem: wcnss { ...@@ -370,7 +370,7 @@ wcnss_mem: wcnss {
}; };
venus_mem: venus { venus_mem: venus {
size = <0x0 0x800000>; size = <0x0 0x500000>;
alignment = <0x0 0x100000>; alignment = <0x0 0x100000>;
alloc-ranges = <0x0 0x86800000 0x0 0x8000000>; alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
no-map; no-map;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment