All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: James Simmons <jsimmons@infradead.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
	Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: Patch for review and testing
Date: Wed, 28 Jan 2004 09:17:27 +1100	[thread overview]
Message-ID: <1075241846.5657.222.camel@gaston> (raw)
In-Reply-To: <Pine.LNX.4.44.0401272159590.19265-100000@phoenix.infradead.org>

On Wed, 2004-01-28 at 09:09, James Simmons wrote:
> > > I like to submit this patch to linus today. Could you test it to see if it 
> > > works on ppcs. 
> > 
> > Well... you didn't update the drivers calling get_EDID_from_OF (I think
> > only rivafb at this point). 
> 
> The patch is against the vanilla tree. In the fbdev-2.5 tree I have to 
> update rivafb for this. Actually I will remove that code from rivafb. 
> 
> > Also, I plan to deprecate that function in
> > fbmon anyway, so don't bother, leave it alone for now. The way the
> > display/EDID infos are laid out in the OF device tree isn't that
> > generic and I'm considering letting each driver has its own version...
> 
> Then I will remove it.

Not yet, not until the new version is in. It does work someway with the
current code. Let me deal with those OF things please.

> That was to make the function generic. Well it doesn't matter as I'm going 
> to remove the OF function so the pci stuff can go away.

Actually, that may not be a good approach neither... You probably want
to check that you are indeed dealing with the default VGA device so an
additional card don't get an unrelated EDID, no ?

Also, other archs may want to implement this function too. Keep the
struct device as an argument, check for bus_type before casting to PCI,
and we should probably, in the x86 PCI code, "remember" the pci_dev of
the default VGA (if not done already) and compare it on calls to this
function. (To be completely clean, I also need to know if I'm the
primary VGA in radeonfb and aty128fb).
 
> > Finally, I don't see the point of submiting things to Linus at this
> > point, especially this patch which isn't critical (and you didn't even
> > submit driver changes for _using_ the new feature). 
> 
> Actually it is. The BIOS calls can hang some intel machines or make 
> booting  up to 5 seconds longer waiting for the data. If this was not the 
> case I wouldn't be submitting it.

What about a cmdline option then ? it's too early during boot to check
for it ? vendors will build kernels with or without the CONFIG_ option,
and people won't change it, so I'm afraid it will be useless... Is the
BIOS call standard ? There may be a way to workaround the hang, no ? Or
it's one of those calls that Windows never uses and are broken in half
of the BIOSes around ?

> > Andrew is the
> > maintainer of current 2.6.x stable, patches have to go to him first,
> > stage in -mm for a while to be tested, and then go to Linus.
> 
> This is just making the code conditional.  I will send another patch in a 
> minute then.
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  reply	other threads:[~2004-01-27 22:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1075188083.6191.181.camel@gaston>
2004-01-27 20:07 ` Patch for review and testing James Simmons
2004-01-27 21:40   ` Benjamin Herrenschmidt
2004-01-27 22:09     ` James Simmons
2004-01-27 22:17       ` Benjamin Herrenschmidt [this message]
2004-01-27 22:59         ` James Simmons
2004-01-28  0:18           ` Benjamin Herrenschmidt
2004-01-28  1:01           ` Benjamin Herrenschmidt
2004-01-28  1:05             ` Benjamin Herrenschmidt
2004-01-29 19:53               ` Cursor patch James Simmons
2004-01-29 20:20                 ` Andrew Morton
2004-01-30 23:54                   ` New fb.h header James Simmons
2004-02-01  0:49                     ` Andrew Morton
2004-02-01  1:03                       ` Benjamin Herrenschmidt

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=1075241846.5657.222.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --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 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.