From 3f16e8921e040b46a17b5cb2f8ceff593366316a Mon Sep 17 00:00:00 2001 From: Thomas Molina Date: Fri, 8 Aug 2003 19:40:17 -0700 Subject: [PATCH] [PATCH] Re: Linux 2.6.0-test3: logo patch The following patch has been floating around forever. It is required for several ARM framebuffer drivers, and several other drivers. James has indicated that this is the correct fix back in May. --- drivers/video/cfbimgblt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/cfbimgblt.c b/drivers/video/cfbimgblt.c index cda7a90d64a1b..d568cfc53eea6 100644 --- a/drivers/video/cfbimgblt.c +++ b/drivers/video/cfbimgblt.c @@ -325,7 +325,7 @@ void cfb_imageblit(struct fb_info *p, const struct fb_image *image) 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); } -- 2.53.0