diff options
author | Michal Januszewski <spock@gentoo.org> | 2008-10-16 07:03:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:45 +0200 |
commit | 4d31a2b74c6d063362ae10ce3be3e80d8713bf23 (patch) | |
tree | c125a2e581620a333437bcc5b3e75d24af928c58 /lib/iomap_copy.c | |
parent | vgacon: vgacon_scrolldelta simplification (diff) | |
download | linux-4d31a2b74c6d063362ae10ce3be3e80d8713bf23.tar.xz linux-4d31a2b74c6d063362ae10ce3be3e80d8713bf23.zip |
fbdev: ignore VESA modes if framebuffer does not support them
Currently, it is possible to set a graphics VESA mode at boot time via the
vga= parameter even when no framebuffer driver supporting this is
configured. This could lead to the system booting with a black screen,
without a usable console.
Fix this problem by only allowing to set graphics modes at boot time if a
supporting framebuffer driver is configured.
Signed-off-by: Michal Januszewski <spock@gentoo.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/iomap_copy.c')
0 files changed, 0 insertions, 0 deletions