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

From
Tomi Valkeinen <hidden>
Date
2012-11-22 13:52:21
Also in
linux-fbdev, linux-omap
Reply to
Jello huang, 2012-11-21
Hi,

On 2012-11-21 16:22, Jello huang wrote:
HI Tomi,
we need  one rank of cma to allocate the memory for driver in kernel
space .And the default CMA is for allocating memory frome usespace.So
if we allocate the memory from the
default CMA zone ,there maybe introduce fragmention to the default CMA
zone.The kernel space memory donot touch the memory from userspace
Can you elaborate a bit? I didn't understand your point. Are you saying
each kernel driver that uses dma_alloc should have their own CMA zone?
That doesn't make sense...

How do you allocate CMA memory from userspace?

 Tomi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121122/69798536/attachment.sig>
Thread (18 messages) 18 messages, 4 authors, last reply 2012-11-23
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