Control fb problem on 8500

Michael Schmitz schmitz at
Mon Aug 21 21:33:04 EST 2000

> > It does support that, if not directly then certainly via shadowfb. Maybe the
> > shadowfb RefreshArea function would have to be modified to take account of
> > this.
> That's not even needed, the fbdev driver is just broken. Line 430:
> 	pScrn->displayWidth = pScrn->virtualX; /* FIXME: might be wrong */
> is indeed wrong. virtualX is obvious, but displayWidth should be the memory
> pitch of a scanline.

That would indeed be silly.

> Now you just have to find out where to get the correct value for displayWidth.

Something like xres*bpp/8 ??


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list