diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-22 00:32:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-22 12:13:43 -0500 |
commit | b4627dea032ab1f6e472fcf030e28f22ea971f9b (patch) | |
tree | cf4a6509616f137e46098bbbb0573194b4ef0af5 /drivers/video/console/vgacon.c | |
parent | 74a8a65c526187fe636a6a2abcb7d9ebc5c753ab (diff) |
[PATCH] fbcon: Console Rotation - Fix wrong shift calculation
The shift value (amount to shift the bitmap so first pixel starts at
origin(0,0)) is incorrect. This causes corrupted characters or a kernel crash
if fontwidth is not divisible by 8 at 270 degrees, or fontheight not divisible
by 8 at 180 degrees.
Report and part of the fix contributed by Knut Petersen.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/console/vgacon.c')
0 files changed, 0 insertions, 0 deletions