Skip to contentSkip to conversation

VGA routing

DISCUSSION Jon Smirl 2 participants 2 messages Dec 7, 2003 – Dec 10, 2003 Framebuffer layer

lore
Share & tools
lore

Jon Smirl

author
#0 lore raw

My machine has three busses.
1) on chip
2) AGP
3) PCI

My primary display is on a PCI card.
When I boot the VGA ports are routed through the PCI bridge. I'm running X on the PCI card.

Now I load a device driver that enables the AGP card. After doing this the VGA ports are routed to the AGP bus. Where does this happen?

Now if I do a VT switch the VGA ports get routed back to the PCI bridge. Where does this happen?

Thanks for the help. I'm trying to figure out the right way to initialize a secondary card by jumping to C000:0003 in it's BIOS. Does Xfree jump to C000:0003? I can't find where it does that in the source.

=====
Jon Smirl
[email protected]

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-------------------------------------------------------
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

#1 lore raw
Quoted 8 lines · Jon Smirl

My machine has three busses.
1) on chip
2) AGP
3) PCI

My primary display is on a PCI card.
When I boot the VGA ports are routed through the PCI bridge. I'm running X on the PCI card.

There is VGA bit of Bridge Control register in PCI-PCI bridges (bit 19, at 3c). But when there are a few cards on the same bus, I guess the behaviour is undefined, since I did not see anything relevant in the standards.

Quoted 3 lines

Thanks for the help. I'm trying to figure out the right way to initialize a secondary card by jumping to C000:0003 in it's BIOS. Does Xfree jump to C000:0003? I can't find where it does that in the source.

x86emu package does this by disabling all cards except for the one that is being initialized.

Signature · 9 lines
Matan Ziv-Av.                         [email protected]



-------------------------------------------------------
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