]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: use drm_modeset_lock_all
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 2 Dec 2012 00:48:38 +0000 (01:48 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 21:16:52 +0000 (22:16 +0100)
commitccdecbb21e455510a70009655d59decb5a7815d7
tree975c05dfa5ffea97ab592495872173f02c3f527a
parent57b9b03e5558b1378459827c06440418dc44ee1b
drm/vmwgfx: use drm_modeset_lock_all

Ok, this one here is a bit more complicated, and I can't really claim
to fully understand the locking and lifetime rules of the vmwgfx
driver. So just convert ever mutex_lock call, including the
interruptible one. Since other places (e.g. in the execbuf ioctl) take
the mode_config.mutex without bothering with interruptible handling,
I've figured I should be able to get away with this in a few more
places ...

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c