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/maxinefb.c | |
parent | 74a8a65c526187fe636a6a2abcb7d9ebc5c753ab (diff) | |
download | blackbird-op-linux-b4627dea032ab1f6e472fcf030e28f22ea971f9b.tar.gz blackbird-op-linux-b4627dea032ab1f6e472fcf030e28f22ea971f9b.zip |
[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/maxinefb.c')
0 files changed, 0 insertions, 0 deletions