From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: James Simmons <jsimmons@infradead.org>
Cc: Linux Fbdev development list <linux-fbdev-devel@lists.sourceforge.net>
Subject: 2.5 fbdev & driver initial mode
Date: 08 Jan 2003 22:52:50 +0100 [thread overview]
Message-ID: <1042062770.551.9.camel@zion.wanadoo.fr> (raw)
In-Reply-To: <Pine.LNX.4.33.0301081042070.9598-100000@maxwell.earthlink.net>
Hi James !
How is a driver supposed to set the default mode on init lately ?
Looking at rivafb, it fills info->var from fb_find_mode with the mode
option if any, but then does nothing with it (and does nothing if
no mode option is passed).
On radeonfb, I fill a var with the default mode obtained
from EDID or the option if any. Then, I basically do
info->var = var;
var.activate = FB_ACTIVATE_NOW;
fb_set_var(&var, info);
before calling register_framebuffer.
What is the right way to do ?
Ben.
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
next prev parent reply other threads:[~2003-01-08 22:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 19:19 [BK FBDEV updates] James Simmons
2003-01-08 21:52 ` Benjamin Herrenschmidt [this message]
2003-01-09 0:32 ` 2.5 fbdev & driver initial mode James Simmons
2003-01-09 9:30 ` Geert Uytterhoeven
2003-01-09 10:39 ` Benjamin Herrenschmidt
2003-01-09 20:34 ` [Linux-fbdev-devel] " 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=1042062770.551.9.camel@zion.wanadoo.fr \
--to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.