]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fbdev: Shift pixel value before entering loop in cfbimageblit
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 13 Dec 2005 06:17:20 +0000 (22:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Dec 2005 06:31:17 +0000 (22:31 -0800)
commitb6ba3089868c555a9adc56fa6fa666497bbcf12c
treebe75b6de5a19263ffbc54068251988b3d7e2b754
parent9aeff2cf457e0d443aca8dfda39b8c8246d73bb1
[PATCH] fbdev: Shift pixel value before entering loop in cfbimageblit

In slow imageblit, the pixel value is shifted by a certain amount (dependent
on the bpp and endianness) for each iteration.  This is inefficient.  Better
do the shifting once before going into the loop.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/cfbimgblt.c