xserver/exa
Michel Dänzer 7b3b7efe78 EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929)
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@vmware.com>
Acked-by: Cyril Brulebois <kibi@debian.org>
Tested-by: Cyril Brulebois <kibi@debian.org>
Reported-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Tested-by: Thierry Vignaud <thierry.vignaud@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 31704510f4)
2011-02-25 17:36:12 -08:00
..
exa.c exa: Only call driver FinishAccess hook if PrepareAccess hook succeeded. 2011-02-07 10:06:50 -08:00
exa.h exa: s/PixmapIsOffscreen/PixmapHasGpuCopy and s/pExaPixmap->offscreen/pExaPixmap->use_gpu_copy 2009-11-28 12:44:58 -08:00
exa_accel.c EXA: Fix crash with fill using 1x1 tile of depth < 8 (bug #24703). 2010-12-23 14:14:25 -08:00
exa_classic.c EXA: Finish access to pixmap if it's prepared at destruction time. 2010-07-13 10:07:04 -07:00
exa_driver.c EXA: Finish access to pixmap if it's prepared at destruction time. 2010-07-13 10:07:04 -07:00
exa_glyphs.c Remove more superfluous if(p) checks around free(p) 2010-06-11 19:05:46 +07:00
exa_migration_classic.c Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
exa_migration_mixed.c EXA/mixed: Clean up exaPrepareAccessReg_mixed() a little. 2010-02-17 23:22:36 -08:00
exa_mixed.c EXA/mixed: ModifyPixmapHeader pitch fixes. (bug #33929) 2011-02-25 17:36:12 -08:00
exa_offscreen.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
exa_priv.h EXA: Finish access to pixmap if it's prepared at destruction time. 2010-07-13 10:07:04 -07:00
exa_render.c Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
exa_unaccel.c EXA: Fix crash with fill using 1x1 tile of depth < 8 (bug #24703). 2010-12-23 14:14:25 -08:00
Makefile.am exa: A simple 3rd backend implementation. 2009-08-06 23:48:14 +02:00