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