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

Albert D. Cahalan
2001-06-15T02:07:25Z

David S. Miller writes:

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

It might not be so bad if you assume that one doesn't blast away
with interleaved operations between the displays. Lazy switching
means you can do a whole user-interface action without needing
to muck with bridges. By "user-interface action" I mean something
like a "make menuconfig" screen refresh.