[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fbdev-devel
Subject:    [Linux-fbdev-devel] Re: [PATCH] Provide control of active VGA device on PCI systems
From:       Benjamin Herrenschmidt <benh () kernel ! crashing ! org>
Date:       2005-02-22 20:57:47
Message-ID: 1109105867.5411.128.camel () gaston
[Download RAW message or body]

On Tue, 2005-02-22 at 10:50 -0800, Jesse Barnes wrote:

> Nice, if this is combined with Ben's suggestion of using a firmware loader 
> type model to deal with POSTing, it seems like we're in pretty good shape.  
> Can you add documentation for this API to 
> Documentation/filesystems/sysfs-<foo>.txt (maybe the pci file or a new file) 
> so that userspace people will be able to figure out how to use it?
> 
> Also, how does one know if a card is 'primary' or not?  I.e. some BIOSes will 
> POST all cards, some will POST only one, and some will POST none...

Well, that's something we need to figure out... While I do think the
POSTing must be under driver control, as I explained, there is still
that nasty notion of who has the stuff at 0xc0000 ... and if your
firmware runs the x86 BIOS but doesn't keep the shadow around, then you
are toast with a good deal of laptop chips.

The problem is that on some cards (ATIs for example), the BIOS will
modify the image in RAM at c0000 and will put in there various infos,
like panel type, PLL infos, etc... that can't always be obtained from
the "hard" ROM (especially the panel infos). The driver (raeonfb or X,
strace X and see it mmap'ing /dev/mem at c0000...) need those things.

Ben.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic