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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:55:41 +0000 (13:55 -0800)
commit67ba7bc05ddf1cbc76d4d7dba4f3235011c10d2c
tree9196d2777cfab772bebda9f3324a8e43e0f675bf
parentc81b99f67cc5046fd2429332e1a945594b62db8a
drm/nouveau: hold mutex while syncing to kernel channel

commit d5c1e84b3a130f0743b218b33ff7d9cb493ab5b4 upstream.

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

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nouveau_display.c