From: Alessio Sangalli <alesan@manoweb.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: "linux-fbdev-devel@lists.sourceforge.net"
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Framebuffer using system memory
Date: Sat, 25 Apr 2009 12:08:22 -0700 [thread overview]
Message-ID: <49F35FA6.9020904@manoweb.com> (raw)
In-Reply-To: <10f740e80904250045u1e617c9v2d49f30fce1cf40@mail.gmail.com>
Geert Uytterhoeven wrote:
> Alternatively, you could use__alloc_bootmem() in the early platform
> code to reserve
> the memory, cfr. arch/powerpc/platforms/ps3/setup.c
So the usage patter seems to be:
- I use __alloc_bootmem() to reserve memory
- I export a structure that contains data about this memory (location
and size mainly)
- In the init of my framebuffer driver I use the data in that structure
to configure the hardware
- I map that area of memory to userspace when they try to mmap() this fb
device
Can you comment on this?
bye
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
next prev parent reply other threads:[~2009-04-25 19:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2009-04-26 18:03 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F35FA6.9020904@manoweb.com \
--to=alesan@manoweb.com \
--cc=geert@linux-m68k.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).