2003-07-08 15:16:45

by Bob Tracy

[permalink] [raw]
Subject: [PATCH] 2.5.74 boot logo

Wouldn't look too good for this to be broken when 2.6 hits the
streets :-). The fix is trivial, and has been necessary since
2.5.70 at least (nearly two months ago).

--- orig/drivers/video/cfbimgblt.c Mon May 5 17:39:49 2003
+++ linux/drivers/video/cfbimgblt.c Tue May 13 23:53:23 2003
@@ -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);
}


--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
[email protected]
-----------------------------------------------------------------------


2003-07-08 15:27:44

by Martin Schlemmer

[permalink] [raw]
Subject: Re: [PATCH] 2.5.74 boot logo

On Tue, 2003-07-08 at 17:30, Bob Tracy wrote:
> Wouldn't look too good for this to be broken when 2.6 hits the
> streets :-). The fix is trivial, and has been necessary since
> 2.5.70 at least (nearly two months ago).
>
> --- orig/drivers/video/cfbimgblt.c Mon May 5 17:39:49 2003
> +++ linux/drivers/video/cfbimgblt.c Tue May 13 23:53:23 2003
> @@ -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);
> }
>

This has been fixed in James Simmons's tree, of which you can
get the latest 'snapshot' here:

http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz

They will be merged when the fbdev guys think its of good enough
quality *I think (tm)*.


Regards,

--
Martin Schlemmer


2003-07-08 21:00:43

by James Simmons

[permalink] [raw]
Subject: Re: [PATCH] 2.5.74 boot logo


> This has been fixed in James Simmons's tree, of which you can
> get the latest 'snapshot' here:
>
> http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz
>
> They will be merged when the fbdev guys think its of good enough
> quality *I think (tm)*.

Correct. Tester are welcomed :-)