[PATCH xserver] EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929)

Cyril Brulebois kibi at debian.org
Thu Feb 24 06:46:19 PST 2011


Michel Dänzer <michel at daenzer.net> (24/02/2011):
> From: Michel Dänzer <daenzer at vmware.com>
> 
> If there's a GPU copy and a non-zero devKind was passed in, set the GPU copy
> pitch to that instead of to a possibly bogus value derived from the new width.
> This is e.g. used by the radeon driver's drmmode_xf86crtc_resize hook, fixes
> https://bugs.freedesktop.org/show_bug.cgi?id=33929 .
> 
> On the other hand, the system memory copy doesn't need the pitch to be aligned
> beyond the PixmapBytePad of the width.
> 
> Signed-off-by: Michel Dänzer <daenzer at vmware.com>

Yay!

Acked-by: Cyril Brulebois <kibi at debian.org>

And if you're happy with my sticking a Tested-by line because I've
received (Debian unstable) user reports that this patch indeed fixes
bugs, here's also:

Tested-by: Cyril Brulebois <kibi at debian.org>

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110224/9e1e871b/attachment.pgp>


More information about the xorg-devel mailing list