2002-12-05 03:44:07

by Antonino A. Daplas

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

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.


Attachments:
vgastate2.diff (16.56 kB)