Thread (17 messages) flat view 17 messages, 4 authors, 2012-11-22
STALE5044d

Revision v1 of 7 in this series.

Revisions (7)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v1 current
  7. v1 [diff vs current]

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

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help