drm/nouveau: hold mutex while syncing to kernel channel
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 14 Jan 2014 15:48:58 +0000 (16:48 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 03:39:14 +0000 (13:39 +1000)
commitd5c1e84b3a130f0743b218b33ff7d9cb493ab5b4
treed5ac688f1b254e6986153212bf346d728466eaf0
parent4019aaa2b314a5be9886ae1db64ff8c6d3c060ed
drm/nouveau: hold mutex while syncing to kernel channel

Not holding the mutex potentially causes corruption of the kernel
channel when page flipping.

Cc: stable@vger.kernel.org #3.13
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c