diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-21 21:32:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-22 09:13:43 -0800 |
commit | b4627dea032ab1f6e472fcf030e28f22ea971f9b (patch) | |
tree | cf4a6509616f137e46098bbbb0573194b4ef0af5 /drivers/video/console/vgacon.c | |
parent | 74a8a65c526187fe636a6a2abcb7d9ebc5c753ab (diff) | |
download | op-kernel-dev-b4627dea032ab1f6e472fcf030e28f22ea971f9b.zip op-kernel-dev-b4627dea032ab1f6e472fcf030e28f22ea971f9b.tar.gz |
[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