]> bbs.cooldavid.org Git - net-next-2.6.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)
commit374c3af880ef260f36dfc968d9725494666dff31
treeb4bc3223e3e7b5a9dfc7aac8032afd9e8350d787
parent3ba6462355c1c69dde58739a871d13bbb993e2e3
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