]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dma: contiguous: Reserve default CMA heap
authorMaxime Ripard <mripard@kernel.org>
Mon, 13 Oct 2025 08:35:19 +0000 (10:35 +0200)
committerSumit Semwal <sumit.semwal@linaro.org>
Sat, 18 Oct 2025 16:01:21 +0000 (21:31 +0530)
commit8f1fc1bf1a3d5a61f7465435591a439c1e4671f2
tree522cbbc4c877b0f0c72d18ddd6f00bfa3748bca1
parent84a593066a85e6fdfb7b71f74400ed6bb5e0c3fa
dma: contiguous: Reserve default CMA heap

The CMA code, in addition to the reserved-memory regions in the device
tree, will also register a default CMA region if the device tree doesn't
provide any, with its size and position coming from either the kernel
command-line or configuration.

Let's register that one for use to create a heap for it.

Reviewed-by: T.J. Mercier <tjmercier@google.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://lore.kernel.org/r/20251013-dma-buf-ecc-heap-v8-4-04ce150ea3d9@kernel.org
kernel/dma/contiguous.c