lkml.org 
[lkml]   [2001]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VGA handling was [Re: Going beyond 256 PCI buses]
On Thu, 14 Jun 2001, David S. Miller wrote:

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

Why do that? You ignore the vga regions of all the cards except for the
primary, and program all other cards by accessing their PCI mapped
regions, which are programmed not to overlap, so they are completely
independent.
This is what nvvgacon does for using text mode of secondary nvidia card.

--
Matan Ziv-Av. matan@svgalib.org


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

\
 
 \ /
  Last update: 2005-03-22 12:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site