[lkml]   [2001]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH: trident , pci_enable_device moved
Jeff Garzik <> writes:

> Andres Salomon wrote:
> > This is what I was told (it was only needed for secondary video
> > devices). From that, I would expect that all video devices would
> > need it, just in case they happened to be the second card. Am I
> > missing some subtlety in some of the video driers/chipsets that
> > wouldn't allow them to be used as a second video device (therefore
> > not requiring pci_enable_device)?
> They do need pci_enable_device, both primary and secondary displays.
> For the primary display its safe to call pci_enable_device. For
> secondary displays, you have to first disable I/O decoding for all VGA
> devices before you can enable a secondary display. You don't want more
> than one device decoding the legacy VGA region at any one time.
> Some cards have the capability to relocate the VGA region, which is
> nice. The bigger problem is initializing secondary displays; every
> video card has a proprietary video BIOS initialization sequence that is
> run by main BIOS on startup. You can either duplicate this sequence
> with C code, which is sometimes difficult due to lack of docs or variety
> of boards, or you can execute the video BIOS with an x86 emulator.

Note: With linuxBIOS (and some other embedded linux setups) even a
primary display doesn't get initialized until you start linux so if
you can properly initialize your display please do it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.068 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site