]> err.no Git - linux-2.6/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)
commit7275b4b6bc2f783c135c3f0eeecc4fdc6e788aa8
treebe75b6de5a19263ffbc54068251988b3d7e2b754
parent39942fd8ff57c8623451bbfaffe8a184cc8b463a
[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