Re: Changing modes with fbset
flat view
From: Michel Dänzer <hidden>
Date: 2004-01-06 11:38:56
On Tue, 2004-01-06 at 01:35, Benjamin Herrenschmidt wrote:
On Tue, 2004-01-06 at 11:28, Otto Solares wrote:quoted
Hi James! now that you are back again, i would like to suggest a modification to fbdev core, i am having problems guessing which card is attached to a fb device. I need this info to solve the 'more than 1 card' situation. This could be easily fixed if the fbdev api provides the busid of the card, like "pci:0000:01:0.0". That would solve a lot of things in the HAL detection routines. Maybe that could be exported via sysfs but i have been waiting for sysfs for a while and don't see it coming to a reality. Maybe an ioctl is enough.Right, we need that and some way to know which heads are "coupled" for dual head drivers. One of the reasons I haven't done dual head support in radeonfb yet is that to get it working properly with X, I need to update X too, and add a way for X to know which /dev/fb's are actually "together" as 2 heads of the same card. Then, we probably want some way to also enable mirroring instead of dual head...
Crazy idea: What would break if it defaulted to mirroring? :) You could achieve true multihead via panning or something... -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Software libre enthusiast | http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click