EXA/mixed: Update sys_pitch in MPH even when there's no system memory copy.
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 10 Aug 2011 09:36:16 +0000 (11:36 +0200)
committerKeith Packard <keithp@keithp.com>
Wed, 10 Aug 2011 16:30:08 +0000 (09:30 -0700)
commit4020cab88f5cf3164fc83cf912f94f288aa5a45d
treea009f93811a3610e2d8eee5018a411c5490af4c5
parenta1dec7cd6adabaf8770dc3b21b0df30ce2f0bc8d
EXA/mixed: Update sys_pitch in MPH even when there's no system memory copy.

Otherwise sys_pitch will be stale when a system memory copy is allocated.

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38322 and a crash when
unlocking the screen with xscreensaver, reported by Janne Huttunen.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Tested-by: Janne Huttunen <jahuttun@gmail.com>
Tested-by: Jan Kriho <Erbureth@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
exa/exa_mixed.c