about cma

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

about cma

跳至解决方案
712 次查看
changbaoma
Contributor III

camera and display interface do not exist in my imx6ull board,but ip camera may be used.

1. can i disable the reserved-memory(cma) node in imx6ull dts? if yes, is there any bad effect?

2. which driver may use that CMA area?

0 项奖励
1 解答
683 次查看
b36401
NXP Employee
NXP Employee

I considered with collegues and it is not good idea to disable CMA.
Many peripherals on i.MX6ULL used DMA and needs CMA.
Of course you can change their drivers for not using DMA but then you loose the performance.

在原帖中查看解决方案

3 回复数
700 次查看
b36401
NXP Employee
NXP Employee

[deleted]

0 项奖励
691 次查看
changbaoma
Contributor III

when CMA  aera enable, will all DMA transfers of imx6 Peripherals use the CMA  aera?

is there any bad effect if disable CMA node in dts?

0 项奖励
684 次查看
b36401
NXP Employee
NXP Employee

I considered with collegues and it is not good idea to disable CMA.
Many peripherals on i.MX6ULL used DMA and needs CMA.
Of course you can change their drivers for not using DMA but then you loose the performance.