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

From
Grazvydas Ignotas <hidden>
Date
2012-11-12 13:39:45
Also in
linux-arm-kernel, linux-omap
Reply to
Tomi Valkeinen, 2012-11-12
Hi,

On Mon, Nov 12, 2012 at 12:25 PM, Tomi Valkeinen [off-list ref] wrote:
This series changes omapfb to use standard dma_alloc funcs instead of omap
specific vram allocator. This let's us remove the omap vram allocator, making
omapfb platform independent.

However, note that using standard dma funcs causes the following downsides:

...

3) OMAPFB_GET_VRAM_INFO ioctl cannot return real values anymore. I
changed the ioctl to return 64M for all the values, which, I hope, the
applications will interpret as "there's enough vram".
Do at least OMAPFB_QUERY_MEM/OMAPFB_SETUP_MEM still work?
4) "vram" kernel parameter to define how much ram to reserve for video use no
longer works. The user needs to enable CMA and use "cma" parameter.
That's a significant change, you should update Documentation/ .
What about omapfb.vram, is it still there?
Perhaps we also need to select/depend on CMA?


-- 
Gražvydas
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