aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/amiga
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-07-17 16:16:10 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-07-18 11:36:17 -0700
commit7ad37df02c529525c4ad19035359af89d2d2a5bd (patch)
treed747f8fce857c6498c88cfb7608d2d3c6425fa34 /arch/m68k/amiga
parent5593eaa854d0b23c3b270933a93b9b82946df729 (diff)
[x86 setup] VGA: Clear the Protect bit before setting the vertical height
If the user has asked for the vertical height registers to be recomputed by setting bit 15 in the video mode number, we do so without clearing the Protect bit in the Vertical Retrace Register before setting the Overflow register. As a result, if the VGA BIOS had set the Protect bit, the write to the Overflow register will be dropped, and bits [9:8] of the vertical height will be left unchanged. This is a bug imported from the assembly version of this code. It was pointed out by Etienne Lorrain. Cc: Etienne Lorrain <etienne_lorrain@yahoo.fr> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/m68k/amiga')
0 files changed, 0 insertions, 0 deletions