Skip to content
Commit 5c0886a2 authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by popcornmix
Browse files

dma-contiguous: CMA: give precedence to cmdline



commit 8c8c5a49 upstream.

Although the device tree might contain a reserved-memory DT node
dedicated as the default CMA pool, users might want to change CMA's
parameters using the kernel command line for debugging purposes and
whatnot. Honor this by bypassing the reserved memory CMA setup, which
will ultimately end up freeing the memblock and allow the command line
CMA configuration routine to run.

Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: default avatarPhil Elwell <phil@raspberrypi.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent bb98baaa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment