]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86, setup: un-resequence mode setting for VGA 80x34 and 80x60 modes
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 7 Apr 2009 17:59:25 +0000 (10:59 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 7 Apr 2009 17:59:25 +0000 (10:59 -0700)
commit1e274a582710e95d93b86e8d47e9fcce4ca09d01
treed91aa694ed60fe170baa613826f8e8d74eddc229
parentf7d7f866baacc283967ce82ebdfe5d2801059a11
x86, setup: un-resequence mode setting for VGA 80x34 and 80x60 modes

Impact: Fixes these modes on at least one system

The rewrite of the setup code into C resequenced the font setting and
register reprogramming phases of configuring nonstandard VGA modes
which use 480 scan lines in text mode.  However, there exists at least
one board (Micro-Star MS-7383 version 2.0) on which this resequencing
causes an unusable display.

Revert to the original sequencing: set up 480-line mode, install the
font, and then adjust the vertical end register appropriately.

This failure was masked by the fact that the 480-line setup was broken
until checkin 5f641356127712fbdce0eee120e5ce115860c17f (therefore this
is not a -stable candidate bug fix.)

Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/video-vga.c