drm/nouveau: Add a separate class for the kernel channel mutex.
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 25 Oct 2010 21:38:59 +0000 (23:38 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:11:18 +0000 (15:11 +1000)
nouveau_bo_move_m2mf() needs to lock the kernel channel, and it may be
called from the pushbuf IOCTL with an user channel already locked. Use
a separate subclass for the kernel channel mutex because this is
legitimate mutex nesting.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found