An cma optimization patch is used for cma_[alloc|free].

From: Jichao Zou
Date: Fri Aug 13 2021 - 03:00:24 EST


Pre-allocate CMA memory that configured in device
tree, this greatly improves the CMA memory
allocation efficiency, cma_[alloc|free] is less
than 1ms, old way is took a few ms to tens or
hundreds ms.

Thanks.

Best Regards,

Zou Jichao 邹纪超
Advisory Engineer, SW BSP
MBG ROW SW BJ PF BSP (CN)
Motorola Mobility, A Lenovo Company
motorola.com




Attachment: 0001-cma-optimize-cma-allocation.patch
Description: 0001-cma-optimize-cma-allocation.patch