From: Jon Smirl <jonsmirl@yahoo.com>
To: James Simmons <jsimmons@infradead.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
fb-devel <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: cfb* routines and high mem
Date: Mon, 22 Sep 2003 12:48:40 -0700 (PDT) [thread overview]
Message-ID: <20030922194840.59600.qmail@web14902.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0309221953110.6431-100000@phoenix.infradead.org>
--- James Simmons <jsimmons@infradead.org> wrote:
> No. The penguin code works for fbdev without console support. The logo can
> be displayed for embedded fbdev devices so the developer knows it is
> loaded.
Could the penguin code do the ioremap in its code? That way if it fails it
isn't fatal. Right now if the fb driver fails to load the penguin code is kind
of pointless.
The client of the framebuffer needs to be responsible for the ioremap(), not
the driver. Since if the buffer is mapped to high mem the client code needs to
match. The current scheme prevents a high mem mapping since the client code
isn't high mem aware.
I also think that it is wrong that the fb drivers should fail to load just
because it can't ioremap() to draw the penguin. It would be much better to have
the fb driver load and the penguin disappear.
>
> > Are there non-cfb drivers? How hard would it be to convert them?
> > Is there another solution to the problem?
>
> There are several non-cfb drivers. Breaking the code up and pushing it
> into the fbconsole layer is a bad idea.
>
> Accelerated driver (non-cfb) don't need to ioremap the framebuffer memory
> except for the case of fb_read/fb_write. That can be handled. What should
> be done is a surface api that allocates the amount of memory we really
> need at any time.
>
I'm still having trouble with the fb drivers doing the ioremap() when
fbconsole/penguin is the only client. 1600x1200x4 dual head still takes up 16MB
of address space. 16MB will fail ioremap() on my system. Aren't we just
delaying an inevitable problem with increasing resolutions?
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-09-22 19:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 5:39 cfb* routines and high mem Jon Smirl
2003-09-22 7:23 ` Geert Uytterhoeven
2003-09-22 16:48 ` Jon Smirl
2003-09-22 19:17 ` James Simmons
2003-09-22 19:48 ` Jon Smirl [this message]
2003-09-24 10:21 ` 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=20030922194840.59600.qmail@web14902.mail.yahoo.com \
--to=jonsmirl@yahoo.com \
--cc=geert@linux-m68k.org \
--cc=jsimmons@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).