[PATCH] FBDEV: VGA Save/Restore module - round 2

From: Antonino Daplas (adaplas@pol.net)
Date: Thu Dec 05 2002 - 01:43:15 EST


Hi,

Attached is an updated patch against linux-2.5.50 + James Simmons'
fbdev.diff. Most of the changes are as per suggestions by Petr
Vandrovec (Thanks!) targeted towards selective saves/and restores
specific to the setting of vgacon.

Tested drivers:

vga16fb using VGA_SAVE_CMAP | VGA_SAVE_MODE flags will correctly restore
VGA text mode and high resolution graphics mode.

rivafb (riva128) using VGA_SAVE_CMAP | VGA_SAVE_MODE | VGA_SAVE_FONT0
flags effectively restores VGA text and graphics mode with minor screen
corruption.

Tony

PS: Please reverse previous patches (vgastate.diff and vgastate1.diff)
if applied.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:21 EST