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)
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