From: John Zielinski <grim@undead.cc>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: James Simmons <jsimmons@infradead.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: fbcon & resize
Date: Sun, 23 May 2004 22:10:57 -0400 [thread overview]
Message-ID: <40B159B1.9050108@undead.cc> (raw)
In-Reply-To: <1085360912.15281.7.camel@gaston>
Benjamin Herrenschmidt wrote:
>I still think the whole resize stuff is broken, despite your latest
>changes. The main problem is blindly using the modedb and not whatever
>mode list is provided by the driver (but we need an interface for that).
>
>
>
How about making the modedb more like a real database. It would contain
the built in standard, vesa, and macmodes lists as well as lists
provided by the driver and custom lists from the user. A temp list
would contain any tweaked modes created by a tweak utility (fbset, etc)
and also for modes for displays that can take any resolution. The mode
displayed on each VT and modes set by applications would just be
pointers into the database so checking if a mode switch would be very easy.
And it need not be limited to geometries but could also include bit
formats, supported virtual resolutions, etc.
This is the current approach I'm taking in my own project.
>We need to cleanup and generalize a function for matching a mode to
>the mode list to be used by drivers for validation in check_var() too,
>my current algorithm in radeonfb is a bit broken for CRTs for example,
>and has the nasty habit of refusing modes rather than "adapting" them.
>
>
I'm curious as to what you mean by "adapting" them.
John
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
next prev parent reply other threads:[~2004-05-24 2:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-24 1:08 fbcon & resize Benjamin Herrenschmidt
2004-05-24 2:10 ` John Zielinski [this message]
2004-05-24 2:44 ` Benjamin Herrenschmidt
2004-05-24 3:11 ` John Zielinski
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=40B159B1.9050108@undead.cc \
--to=grim@undead.cc \
--cc=benh@kernel.crashing.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).