]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Don't take struct_mutex around the pushbuf IOCTL.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 29 Aug 2010 10:21:16 +0000 (12:21 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 2 Sep 2010 22:23:35 +0000 (08:23 +1000)
commit6a61ae9960783d41fc0a3fdc9887fa92d7bc2b4f
treeb4bc3223e3e7b5a9dfc7aac8032afd9e8350d787
parent7355263df88bd690c2ffac5c600c5df63d286212
drm/nouveau: Don't take struct_mutex around the pushbuf IOCTL.

We don't need it and it can lead to lock order inversions with respect
to drm_global_mutex, potentially causing dead locks.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_gem.c