2003-06-24 10:43:57

by Stewart Smith

[permalink] [raw]
Subject: [TRIVIAL PATCH] Fix for no boot logo

Discussed a while ago, someone submitted this patch to get the boot logo to reappear. Russell King resubmitted it a while ago, but it doesn't seem to have come up anywhere, so I'm taking the job of trivializing it :)

Worked for me when I tried it :)

--- linux-2.5.73/drivers/video/cfbimgblt.c 2003-05-05 09:53:31.000000000 +1000
+++ linux-2.5.73-stew1/drivers/video/cfbimgblt.c 2003-06-24 20:53:17.000000000 +1000
@@ -325,7 +325,7 @@
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);
}




--
Stewart Smith
Vice President, Linux Australia
http://www.linux.org.au (personal: http://www.flamingspork.com)