Re: VGA handling was [Re: Going beyond 256 PCI buses]

David S. Miller (davem@redhat.com)
Thu, 14 Jun 2001 16:42:42 -0700 (PDT)


James Simmons writes:
> Actually this weekend I'm working on this for the console system. I
> plan to get my TNT card and 3Dfx card both working at the same time both in
> VGA text mode. If you also really want to get multiple card in vga text
> mode it is going to get far more complex in a multihead besides the
> problem of multiple buses.

You going to have to enable/disable I/O, MEM access, and VGA pallette
snooping in the PCI_COMMAND register of both boards every time you go
from rendering text on one to rendering text on the other. If there
are bridges leading to either device, you may need to fiddle with VGA
forwarding during each switch as well.

You'll also need a semaphore or similar to control this "active VGA"
state.

Really, I don't think this is all that good of an idea.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/