From: Russell King <rmk@arm.linux.org.uk>

Someone (I forget who, because I've had the patch so long) sent me this
which fixes the problem for me.



 drivers/video/cfbimgblt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/video/cfbimgblt.c~fb-image-depth-fix drivers/video/cfbimgblt.c
--- 25/drivers/video/cfbimgblt.c~fb-image-depth-fix	2003-06-26 17:35:19.000000000 -0700
+++ 25-akpm/drivers/video/cfbimgblt.c	2003-06-26 17:35:19.000000000 -0700
@@ -325,7 +325,7 @@ void cfb_imageblit(struct fb_info *p, co
 		else 
 			slow_imageblit(image, p, dst1, fgcolor, bgcolor,
 					start_index, pitch_index);
-	} else if (image->depth == bpp) 
+	} else if (image->depth <= bpp)
 		color_imageblit(image, p, dst1, start_index, pitch_index);
 }
 

_