Thomas Hellstrom fb89ac5102 drm/vmwgfx: Fix an incorrect lock check
With CONFIG_SMP=n and CONFIG_DEBUG_SPINLOCK=y the vmwgfx kernel module
would unconditionally throw a bug when checking for a held spinlock
in the command buffer code. Fix this by using a lockdep check.

Cc: <stable@vger.kernel.org>
Reported-and-tested-by: Tetsuo Handa <penguin-kernel@i-love-sakura.ne.jp>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-01-14 07:56:44 +10:00
..
2015-12-15 13:39:40 +01:00
2016-01-13 12:15:53 -05:00
2015-10-19 11:00:44 +02:00
2015-09-30 10:44:48 +02:00
2015-12-08 16:07:53 +01:00
2015-09-30 10:44:48 +02:00
2015-09-24 17:18:41 +02:00
2015-12-08 11:04:26 +10:00
2015-11-24 11:41:49 +01:00
2015-09-30 10:44:48 +02:00
2015-09-30 10:44:48 +02:00
2015-12-15 10:22:26 +01:00
2015-12-15 10:22:26 +01:00
2015-09-30 10:44:48 +02:00