Skip to content
Commit 0de32796 authored by Paul Cercueil's avatar Paul Cercueil Committed by Christoph Hellwig
Browse files

cma: decrease CMA_ALIGNMENT lower limit to 2



On an embedded system with a tiny (1 MiB) CMA area for video memory, and
a simple enough video pipeline, we can decrease the CMA_ALIGNMENT by a
factor of 2 to avoid wasting memory, as all the allocations for video
buffers will be of the exact same size (dictated by the size of the
screen).

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent c51a9868
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