linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Antonino Daplas <adaplas@pol.net>
Cc: James Simmons <jsimmons@infradead.org>,
	Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Petr Vandrovec <vandrove@vc.cvut.cz>
Subject: Re: [Linux-fbdev-devel] [PATCH]: EDID parser
Date: 03 Apr 2003 08:44:58 +0200	[thread overview]
Message-ID: <1049352298.579.23.camel@zion.wanadoo.fr> (raw)
In-Reply-To: <1049330578.1029.38.camel@localhost.localdomain>


> 3.  Some architecture specific methods, such as doing it via the BIOS. 
> This is the last choice, our fallback method. as this EDID may be static
> and represents only the display detected at boot time.
> 
> For supplementary functions, we also need some kind of control that
> allows the user to tell fbdev "I've switched monitors, please reread the
> EDID". We want to avoid doing DDC each time fbdev does an fb_set_var(),
> especially for DDC1 which can be very slow. 

That's also what Apple does indeed. It's too complicated/long to
dynamically detect hotplug, but they do have a button you can
click to force a re-detect of the displays in the GUI and this
goes via some kind of ioctl to the video driver to ask for new
connection informations (basically EDID).

> Also, a way to download the EDID from kernel to userland.

Just define an ioctl for that and let each driver that support EDID
return something seem to be the simplest way.

If we really want to make EDID a generic thing, then we can eventually
have the EDID block attached to each fb_info and then a generic
fbmem.c ioctl to read it, but then make sure that EDID block isn"t
mandatory (it has no sense to some specific HW like some embedded
stuffs) and I always prefer when drivers are the real target of
the calls like this ioctl, eventually using fbdev "tools" as helpers
instead of having fbdev do something directly as a "mid-mayer".

Ben.

  reply	other threads:[~2003-04-03  6:44 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 15:32 [PATCH]: EDID parser Antonino Daplas
2003-04-02 15:41 ` Antonino Daplas
2003-04-02 21:55   ` [Linux-fbdev-devel] " James Simmons
2003-04-02 22:20     ` Benjamin Herrenschmidt
2003-04-03  0:45     ` Antonino Daplas
2003-04-03  6:44       ` Benjamin Herrenschmidt [this message]
2003-04-03  7:05         ` [Linux-fbdev-devel] " Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03  2:07 Petr Vandrovec
2003-04-03  7:40 ` Sven Luther
2003-04-03 11:05 Petr Vandrovec
2003-04-03 12:20 ` Benjamin Herrenschmidt
2003-04-03 12:38 ` Sven Luther
2003-04-03 13:55 Petr Vandrovec
2003-04-03 14:15 ` Sven Luther
2003-04-03 15:21   ` Alan Cox
2003-04-03 16:21     ` Sven Luther
2003-04-03 16:18       ` Alan Cox
2003-04-03 16:33     ` Geert Uytterhoeven
2003-04-03 17:10       ` [Linux-fbdev-devel] " Sven Luther
2003-04-03 16:15         ` Alan Cox
2003-04-03 17:18           ` Sven Luther
2003-04-03 16:29             ` [Linux-fbdev-devel] " Alan Cox
2003-04-03 14:05 Petr Vandrovec
2003-04-03 13:11 ` Sven Luther
2003-04-03 14:38 Petr Vandrovec
2003-04-03 13:48 ` Sven Luther

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=1049352298.579.23.camel@zion.wanadoo.fr \
    --to=benh@kernel.crashing.org \
    --cc=adaplas@pol.net \
    --cc=jsimmons@infradead.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vandrove@vc.cvut.cz \
    /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).