]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Fix a couple of lock dependency violations
authorThomas Hellstrom <thellstrom@vmware.com>
Mon, 9 Mar 2015 08:56:21 +0000 (01:56 -0700)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 11 Mar 2015 18:47:40 +0000 (11:47 -0700)
commit7d403d377c54fba81c592e25817a37c351ccc41c
tree87e77a5f2a83a227321a492e3115fa38dc76f487
parente1d1682a85eef91fcb1630b689b3bbf87183bcb8
drm/vmwgfx: Fix a couple of lock dependency violations

Experimental lockdep annotation added to the TTM lock has unveiled a
couple of lock dependency violations in the vmwgfx driver. In both
cases it turns out that the device_private::reservation_sem is not
needed so the offending code is moved out of that lock.

Cc: <stable@vger.kernel.org>
Acked-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c