diff options
author | Francisco Jerez <currojerez@riseup.net> | 2009-09-23 03:47:53 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 18:39:57 +0400 |
commit | f0c7d2b72ad1a694c0c886a14cc708841181e9bd (patch) | |
tree | 4c843c53762352136f4cefd99b8f2f56a4b63d03 /drivers/video/tmiofb.c | |
parent | 2ddce3fd0acbdc1be684fb5f919ae3d2e9518aac (diff) | |
download | linux-f0c7d2b72ad1a694c0c886a14cc708841181e9bd.tar.xz |
vgacon: prevent vgacon_deinit from touching the hardware for inactive consoles.
fbcon makes the (reasonable) assumption that it only needs to program the
hardware once, when fbcon_init() is called for the foreground console.
This doesn't always play well with vgacon because vgacon_deinit() is only
doing its job when the last console it owns is closed (when switching from
vgacon to fbcon, that's usually *after* fbcon_init() has set the new
mode).
Depending on the hardware this can cause the wrong framebuffer location to
be scanned out (e.g. reproduced on nv05 with the nouveau framebuffer
driver).
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/tmiofb.c')
0 files changed, 0 insertions, 0 deletions