[PATCH] drm/nouveau: protect evo_wait/evo_kick sections with a channel mutex

2012-12-20 Thread Daniel Vetter
With per-crtc locks modeset operations can run in parallel, and the cursor code uses the device-global evo master channel for hw frobbing. But the pageflip code can also sync with the master under some circumstances. Hence just wrap things up in a mutex to ensure that pushbuf access doesn't intermi

[PATCH] drm/nouveau: protect evo_wait/evo_kick sections with a channel mutex

2012-12-20 Thread Daniel Vetter
With per-crtc locks modeset operations can run in parallel, and the cursor code uses the device-global evo master channel for hw frobbing. But the pageflip code can also sync with the master under some circumstances. Hence just wrap things up in a mutex to ensure that pushbuf access doesn't intermi