[PATCH] fbsplash: use line_length instead of xres * bytes_per_pixel

Denys Vlasenko vda.linux at googlemail.com
Wed Feb 29 17:08:24 UTC 2012


On Thu, Feb 23, 2012 at 8:56 AM, Yin Kangkai <kangkai.yin at intel.com> wrote:
> In some system (e.g. my "strange" device), line_length is not equal xres *
> bytes_per_pixel, so we need to use line_length in scr_fix to mmap and draw
> rectangle etc.
>
> My "strange" device output this:
> bytes_per_pixel: 4
> xres: 600, yres: 1024
> yoffset: 0, xoffset: 0, line_length: 2432
> G.addr: b74da000
>
> Signed-off-by: Yin Kangkai <kangkai.yin at intel.com>

Applied, thanks!
-- 
vda


More information about the busybox mailing list