From: Jon Smirl <jonsmirl@gmail.com>
To: James Simmons <jsimmons@www.infradead.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
James Simmons <jsimmons@pentafluge.infradead.org>,
Linux Frame Buffer Device Development
<linux-fbdev-devel@lists.sourceforge.net>,
"Antonino A. Daplas" <adaplas@hotpop.com>
Subject: Re: Mapping the framebuffer into kernel space
Date: Fri, 13 May 2005 16:56:11 -0400 [thread overview]
Message-ID: <9e47339105051313562e4ba63b@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.56.0505132134320.10736@pentafluge.infradead.org>
On 5/13/05, James Simmons <jsimmons@www.infradead.org> wrote:
>
> > > > Before we get too far into this, has anyone determined if any user
> > > > space app exists that does read/write from fbdev? I can't see a real
> > > > need to keep this feature if no one is using it. If no one is using
> > > > it, it would be much simpler just to remove the functions.
> > >
> > > I think the only programs really using this are some screenshot programs, like
> > > cfb8toppm (which I wrote as a frame buffer sample program many years ago),
> > > fbshot, and fbgrap (in Debian).
> > >
> > > Of course these can be converted to use mmap().
> >
> > Seems to me that it would be easier to drop the feature and update the apps.
>
> Since you are in a hurry why not just create a write and a read function
> for radeon that just returns EINVAL. There are hooks in fb_info for this.
There is no hurry, radeonfb is already not mapping the entire
framebuffer. But we should make a decision on this and implement it
consistently going forward.
Summary of my points:
1) kernel x86 address space is 1GB
2) ATI is shipping 512MB cards, with 1GB cards planned
3) mapping the entire framebuffer in to kernel space is probably
impossible on x86
4) fbconsole can do it's own map for the limited piece it needs
5) that leaves fb_read/fb_write. I propose eliminating them and
removing the ability to read/write the framebuffer from the fbdev
device. Then fix up the few apps using read/write to use mmap instead.
--
Jon Smirl
jonsmirl@gmail.com
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id\x16281&op=click
next prev parent reply other threads:[~2005-05-13 20:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 3:55 Mapping the framebuffer into kernel space Jon Smirl
2005-05-02 17:43 ` James Simmons
[not found] ` <9e473391050504104529f1f080@mail.gmail.com>
2005-05-04 18:08 ` James Simmons
[not found] ` <9e47339105050416415f4dfb1f@mail.gmail.com>
2005-05-05 16:43 ` James Simmons
[not found] ` <9e47339105050511522f6eff30@mail.gmail.com>
2005-05-05 18:59 ` James Simmons
[not found] ` <9e473391050505122635f1cf@mail.gmail.com>
2005-05-05 20:43 ` James Simmons
[not found] ` <9e4733910505051402789440db@mail.gmail.com>
2005-05-05 23:47 ` James Simmons
[not found] ` <9e473391050505170161b0a38d@mail.gmail.com>
[not found] ` <9e47339105050517083fadaee0@mail.gmail.com>
2005-05-06 19:08 ` James Simmons
[not found] ` <9e47339105050615097bdfcdcb@mail.gmail.com>
2005-05-11 22:46 ` James Simmons
2005-05-12 9:14 ` Geert Uytterhoeven
2005-05-12 15:50 ` James Simmons
2005-05-12 17:38 ` Jon Smirl
2005-05-12 19:59 ` Geert Uytterhoeven
2005-05-12 20:12 ` Jon Smirl
2005-05-13 20:35 ` James Simmons
2005-05-13 20:56 ` Jon Smirl [this message]
2005-05-06 9:30 ` Geert Uytterhoeven
2005-05-06 19:07 ` James Simmons
2005-05-07 3:08 ` Antonino A. Daplas
[not found] ` <9e47339105050620312618d2b7@mail.gmail.com>
2005-05-12 0:38 ` James Simmons
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=9e47339105051313562e4ba63b@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=adaplas@hotpop.com \
--cc=geert@linux-m68k.org \
--cc=jsimmons@pentafluge.infradead.org \
--cc=jsimmons@www.infradead.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).