> James Simmons wrote: > > Lets look at the new code that I have done with your above parameters. > > > > for (i = image->height; i--; ) { > > shift = val = 0; > > n = image->width; > > dst = (u32 __iomem *) dst1; > > > > while (n--) { > > if (!s) { src++; s = 32; } > > s -= 1; > > color = (swapb32p(src) & (1 << s)) ? 1 : 0; Replace the below line in my patch I sent > > val |= color << shift; with val <<= shift; val |= color; > > /* Did the bitshift spill bits to the next long? */ > > if (shift >= 31) { > > FB_WRITEL(val, dst++); > > val = (shift == 31) ? 0 :(color >> (32 - shift)); > > } > > shift += 1; > > shift &= (32 - 1); > > } > > > > [ ...] Let me know if that works. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: "Franck Bui-Huu" <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- References:
- fbmem: is bootup logo broken for monochrome LCD ?
- From: Franck Bui-Huu <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: James Simmons <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: "Franck Bui-Huu" <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: James Simmons <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: "Franck Bui-Huu" <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: James Simmons <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: "Franck Bui-Huu" <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: James Simmons <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: "Franck Bui-Huu" <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: James Simmons <[email protected]>
- Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- From: "Franck Bui-Huu" <[email protected]>
- fbmem: is bootup logo broken for monochrome LCD ?
- Prev by Date: Re: [PATCH 2.6.19-rc6] sata_promise updates
- Next by Date: Re: [take24 0/6] kevent: Generic event handling mechanism.
- Previous by thread: Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- Next by thread: Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ?
- Index(es):