about cma

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

about cma

跳至解决方案
2,404 次查看
changbaoma
Contributor IV

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 解答
2,375 次查看
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 回复数
2,392 次查看
b36401
NXP Employee
NXP Employee

[deleted]

0 项奖励
回复
2,383 次查看
changbaoma
Contributor IV

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 项奖励
回复
2,376 次查看
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.