]> git.baikalelectronics.ru Git - kernel.git/commit
savagefb: VGA state save and restore
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 8 May 2007 07:38:36 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:29 +0000 (11:15 -0700)
commite93a60335c51bb15dec8b7bace4664576cff2b5e
tree155190ea0e8d4b1504c754d272518cd9da147771
parent3538bd22038586b3de85f84b4f957f9104682aff
savagefb: VGA state save and restore

Allow the saving and restoration of VGA text mode.  The state is saved on the
first open and restored on the last close. Because of the VGA registers are
linearly mapped to the MMIO space, MMIO access is used which is not limited to
X86 platforms nor to the primary display device.

An echo 0 > /sys/class/vtconsole/vtcon1/bind will convert the display from
graphics to text mode.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/Makefile
drivers/video/savage/savagefb.h
drivers/video/savage/savagefb_driver.c