[pm2fb] update 990110 - first public release ;)

Sven LUTHER luther at maxime.u-strasbg.fr
Wed Jan 20 23:54:35 EST 1999


On Wed, Jan 20, 1999 at 01:46:05PM +0100, Geert Uytterhoeven wrote:
> On Wed, 20 Jan 1999, Sven LUTHER wrote:
> > On Wed, Jan 20, 1999 at 01:17:16PM +0100, Geert Uytterhoeven wrote:
> > > On Wed, 20 Jan 1999, Sven LUTHER wrote:
> > > > but then since i first booted in this mode, the bottom line of the
> > > > screen don't get erased anymore, very anoying, particularly
> > > > because it worked fine before.
> > > 
> > > I guess a problem with the clear_margins routine?
> > > 
> > > > also, Ilario and Geert, am i right in thinking that the pm2fb
> > > > initialize the permedia2 chip correclty, and that, when trying to
> > > > accelerate X i could use it directly, without having to do
> > > > initialization.
> > > 
> > > Yes. The X server must not do video mode initialization, but call the frame
> > > buffer device instead.
> > 
> > what then is the stuff you initialize in the mach64 accel init stuff ?
> 
> Like you say, that's _accel_ _engine_ init stuff, not _graphics_ _engine_ init
> stuff. The graphics engine takes care of the video mode (programmed in the
> fbdev in the kernel), while the X server has to program the accel engine.

in the case of the permedia 2, the engine is only one long pipeline, so the graphic and
accel engine are the same ?

but better would be to take another approach to my questions, ...

when are the init and renint function called ?

i guess init is the first time the Xserver is launched, and reinit is each time 
you return from some console switch ?

should we save the previous state and reset it on exiting X or something like that ?
Or will the fbdev driver automatically reinitialize the pm2 when you switch back to console mode ?

Friendly,

Sven LUTHER

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]




More information about the Linuxppc-dev mailing list