Lee Brown wrote:
> 
> On Tue, 07 Nov 2000, Christoph Egger wrote:
> 
> > >
> > > Thank you for responding to my original request.  As a result I read a little
> > > on RRM.   You have clever friends.  This idea of multiplexing the graphics
> > > registers is interesting.  I guess you would have to put graphics context into
> > > the task struct in order for it to work.  When the kernel switches tasks, not
> > > only does it set the cpu registers it sets the graphics registers too.
> > > Or something like that.
> >
> > I doubt, that Linus will accept that in this way, because that slows down the
> > task-switching rapidly...
> 
> I thought of this too.  Does it?  I mean it's just a few more registers to
> reset (on top of the CPU registers).  

Yes, for a decent 3D card a minimum of 200 to 300 registers, to be read out
and set over the PCI bus...

This is the simple but not really scalable approach. You have to avoid graphics
context switches whenever possible, and this is what the /dev/graphics mapper
in kgi-0.9 tries to accomplish.

                        Steffen

_______________________________________________________________________________
Steffen Seeger                              mailto:[EMAIL PROTECTED]
TU-Chemnitz                                      http://www.tu-chemnitz.de/~sse

Reply via email to