[PATCH 0/4] Add global CMA areas for few TI SoCs
Brandon Brnich
b-brnich at ti.com
Tue May 6 07:20:19 PDT 2025
Hi Jayesh
On 4/24/2025 3:44 AM, Jayesh Choudhary wrote:
> Hello All,
>
> Following AM62* platforms[0], this patches add global CMA reserve area for:
> - J721S2-EVM (1056 MiB)
> - J784S4-EVM (1920 MiB)
> - AM68-SK (1008 MiB)
> - AM69-SK (1904 MiB)
>
> These SoCs does not have MMU and hence they require contiguous memory
> pool to support various multimedia usecase.
This series will break multimedia support in our tree if accepted. I
gave a similar response to Devarsh when trying to get CMA carveout
accepted for AM62p[0]. Essentially, Wave5 still does not have support
for 48 bit addressing in upstream, so memory allocation still needs to
happen in 32-bit range. Can we force the memory carveout in this region
using the alloc-ranges? Devarsh did this with AM62A[1].
Best,
Brandon
[0]:
https://lore.kernel.org/all/20240614170409.zu4vaatdac4o6w2o@udba0500997/
[1]: https://lore.kernel.org/all/20240613150902.2173582-3-devarsht@ti.com/
>
> The calculation was done considering H264 codec requirements, dual-display
> supported in each platforms and multicamera use-cases.
> Additional buffer was kept for other peripheral s and to account for
> fragmentation.
> The breakdown is mentioned in each commit message.
>
> [0]: https://lore.kernel.org/all/20240613150902.2173582-1-devarsht@ti.com/
>
> Jayesh Choudhary (4):
> arm64: dts: ti: k3-j721s2-som-p0: Reserve 1056MiB of global CMA
> arm64: dts: ti: k3-j784s4-j742s2-evm-common: Reserve 1920MiB of global
> CMA
> arm64: dts: ti: k3-am68-sk-som: Reserve 1008MiB of global CMA
> arm64: dts: ti: k3-am69-sk: Reserve 1904MiB of global CMA
>
> arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi | 8 ++++++++
> arch/arm64/boot/dts/ti/k3-am69-sk.dts | 8 ++++++++
> arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi | 8 ++++++++
> arch/arm64/boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi | 8 ++++++++
> 4 files changed, 32 insertions(+)
>
More information about the linux-arm-kernel
mailing list