linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Framebuffer using system memory
@ 2009-04-25  1:13 Alessio Sangalli
  2009-04-25  7:45 ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: Alessio Sangalli @ 2009-04-25  1:13 UTC (permalink / raw)
  To: linux-fbdev-devel@lists.sourceforge.net

Hi I am working on a framebuffer that uses the system memory.

What I mean here is that I need to pass mem=120M to a system that has
128MB to "reserve" 8MB of memory for the framebuffer; then I program the
hardware to use that region of memory.

The reason I do this is that it seems impossible to kmalloc more that
4MB of contiguos physical memory with the Linux Kernel.

Bottom line, I do not know how to map those 8MB back to userspace. If
userspace opens mmaps /dev/mem and writes to the appropriate location it
can access the fb perfectly.

Any hints? All of this is on ARM9.

Thank you
Alessio


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-26 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-25  1:13 Framebuffer using system memory Alessio Sangalli
2009-04-25  7:45 ` Geert Uytterhoeven
2009-04-25  9:37   ` Alessio Sangalli
2009-04-25 19:08   ` Alessio Sangalli
2009-04-26 18:03     ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).