linux-mips
[Top] [All Lists]

Re: Linux/SGI Xsgi server: /dev/opengl ioctl NG1_SETDISPLAYMODE

To: wje@fir.engr.sgi.com
Subject: Re: Linux/SGI Xsgi server: /dev/opengl ioctl NG1_SETDISPLAYMODE
From: Miguel de Icaza <miguel@nuclecu.unam.mx>
Date: Wed, 17 Sep 1997 22:23:30 -0500
Cc: linux@fir.engr.sgi.com
In-reply-to: <199709180203.TAA17980@fir.engr.sgi.com> (wje@fir.engr.sgi.com)
Sender: owner-linux@cthulhu.engr.sgi.com
Another question regarding the Newport:

>      After waiting for the rex3 FIFO to drain, and the the xmap9 FIFO
> to not be full, it sets the xmap9 mode register for the given "wid":
> 
>         xmap9SetModeReg( rex3, wid, displaymode, 
> ng1_video_timing[bd->boardnum]->cfreq ); 

If the newport registers are available to the userland application,
why the X server does not directly call those routines instead of
relying on the kernel to perform them?  Is it a convention that
applications should only touch the rex3 registers and not attempt to
program any of the other chips on the dcb?

It would make sense since the graphics context switching would not
involve the kernel peeking at the chips on the dcb what their context
is and then the pain of restoring this.  

Miguel.


<Prev in Thread] Current Thread [Next in Thread>