Thread (40 messages) 40 messages, 8 authors, 2010-05-31

[RFC] Initial attempt to make ARM use LMB

From: Tomi Valkeinen <hidden>
Date: 2010-05-18 08:58:10
Also in: linux-omap

On Tue, 2010-05-18 at 10:40 +0200, ext Russell King - ARM Linux wrote:
On Tue, May 18, 2010 at 10:47:57AM +0300, Tomi Valkeinen wrote:
quoted
Allocating without ioremapping... dma_alloc_* always ioremaps the
allocated area, even though it's never used (in some cases).
What do you mean by that?  Are you suggesting that something does
phys_to_virt() on the returned DMA pointer?
No.

VRFB rotation HW uses the real memory as a backend storage, and exposes
0/90/180/270 degree views of that memory area via its own memory areas.
So we need to reserve the real memory, program it to VRFB HW, and then
map VRFB's memory areas, which are used as framebuffers. The real memory
is never used directly in this case.

And even when not using VRFB, I think it's not really required to map
the framebuffer into kernel virtual memory. The kernel doesn't
read/write from/to the framebuffer (except when using FB console), it's
the user space, SGX or DSP that does the writing, and DSS which does the
reading. However, currently the framebuffer is always mapped.

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