Re: 2.5.71, fbconsole: No boot logo?

James Simmons (jsimmons@infradead.org)
Mon, 16 Jun 2003 21:36:17 +0100 (BST)


> It is probably some uninitialized value or something like that.
>
> At work I have no logo, while at home I have logo (both 2.5.71 from
> yesterday), both with matroxfb... Only significant difference I know
> is that at home I have UP kernel, while at work I have SMP. But it should
> not matter, yes?

Its a bug in cfbimgblt.c. In cfb_imageblit you have a test

} else if (image->depth == bpp)

Its should be

} else if (image->depth <= bpp)

instead. At present the logo will only show up when the framebuffer depth
matches the image's depth. cfb_imageblit supports displaying images of
equal or lesser depths than the framebuffer.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/