aboutsummaryrefslogtreecommitdiffstats
path: root/block/compat_ioctl.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-12-02 14:49:44 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-20 15:57:55 +0100
commit59ad1465423d968f06f243bc52cc3b1a320a27cf (patch)
treee565409bc6d08385bda2e6208f9781396bdf509b /block/compat_ioctl.c
parent7147573a5ce499dec3979e6b524691d47e1288d5 (diff)
downloadkernel_replicant_linux-59ad1465423d968f06f243bc52cc3b1a320a27cf.tar.gz
kernel_replicant_linux-59ad1465423d968f06f243bc52cc3b1a320a27cf.tar.bz2
kernel_replicant_linux-59ad1465423d968f06f243bc52cc3b1a320a27cf.zip
drm/nouveau: protect evo_wait/evo_kick sections with a channel mutex
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 intermingle. The approach here is a bit overkill since the per-crtc channels used to schedule the pageflips could probably be used without this pushbuf locking, but I'm not familiar enough with the nouveau codebase to be sure of that. v2: Add missing mutex_init to avoid angering lockdep. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'block/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions