drm/nouveau: hold mutex while syncing to kernel channel
authorMaarten Lankhorst <[email protected]>
Tue, 14 Jan 2014 15:48:58 +0000 (16:48 +0100)
committerBen Skeggs <[email protected]>
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: [email protected] #3.13
Signed-off-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
drivers/gpu/drm/nouveau/nouveau_display.c