Re: [PATCH 0/5] OMAPFB: use dma_alloc instead of omap's vram

From
Tomi Valkeinen <hidden>
Date
2012-11-20 15:09:10
Also in
linux-arm-kernel, linux-omap
Reply to
Tony Lindgren, 2012-11-19
On 2012-11-20 00:04, Tony Lindgren wrote:
quoted
Should we enable CMA by default in omap2plus_defconfig? And perhaps on
omap1 also?
Yes if that's now needed for DSS.
DSS works fine without CMA, at least for small displays, and when fb
allocation is done at boot time. So it's not a strict "need".

I'm not sure how easily FB allocations start to fail without CMA, and
how much CMA helps.

I'm not even sure what's the default DMA pool size on OMAP... If it's
the one set with "coherent_pool" kernel parameter, then the default
seems to be 256K, which is quite small for video use. For CMA the
default global area is 16M. Both can, of course, be changed with boot
params or kernel config (at least for CMA).

But I think it makes sense to have CMA by default even if non-CMA kernel
would work.

 Tomi

Attachments

Thread (17 messages) 17 messages, 4 authors, last reply 2012-11-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help