[PATCH xserver] EXA/mixed: Update sys_pitch in MPH even when there's no system memory copy.

Michel Dänzer michel at daenzer.net
Tue Aug 9 08:51:40 PDT 2011


On Die, 2011-08-09 at 08:29 -0700, Keith Packard wrote: 
> On Tue,  9 Aug 2011 11:34:26 +0200, Michel Dänzer <michel at daenzer.net> wrote:
> 
> > +	pExaPixmap->sys_pitch = PixmapBytePad(width, depth);
> > +
> 
> Seems like pExaPixmap->sys_ptr should also get updated here somehow?

It does, in the block this line moved out of. This fix is for the
pExaPixmap->sys_ptr == NULL case.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list