diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 00:38:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:28 -0700 |
commit | 7dfe50b3aac2b3500139ab10a6e228d34fed9a49 (patch) | |
tree | d72efb4cccdbcc4660268ca040f6d4db614f4791 /drivers/char/efirtc.c | |
parent | 19f3d3a5546be431f3846d8a8581e7a2f169dba3 (diff) |
nvidiafb: 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 non-linear mapping
of the VGA registers to the MMIO space, this will be done only on X86
platforms where the device is the primary display.
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>
Diffstat (limited to 'drivers/char/efirtc.c')
0 files changed, 0 insertions, 0 deletions