Re: [linux-fbdev] [PATCH] fbcon->vgacon->fbcon

From: Petr Vandrovec (VANDROVE@vc.cvut.cz)
Date: Fri Nov 03 2000 - 13:54:03 EST


On 3 Nov 00 at 17:20, James Simmons wrote:

> > > I know. I wanted for vgacon to reset the video mode itself. This way ANY
> > > fbdev driver can go back top vgacon.
> >
> > That won't be possible because returning to VGA text mode is chip-specific.
>
> From what I see in the XF4.0 tree you can. I will find out today with me
> working on the tdfx driver.

Yes, you can for example run BIOS initialization. In sandbox with x86
emulator ;-) It is much easier, and much safer, require for 2.5 that
driver has to switch hardware to VGA mode on unload if hardware was
in VGA mode before start, and if it is primary device in the box.

For post-Millennium Matrox hardware, it is as simple as
'outw(0x0003, 0x03DE);' (if you did not ask for disable VGA I/O & disable
VGA BIOS in matroxfb params. And if you asked... you probably know why
better than driver).
                                        Best regards,
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz
                                                                                                    
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:14 EST