drm/ttm: Fix spinlock imbalance
commit166ab4d1f2a1fae8f2cbe43da0e35befadc1e90b
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Jun 2012 13:39:11 +0000 (1 15:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:33:02 +0000 (10 00:33 +0900)
tree373d9b385e3b49aa2879a1a30b014ccd119833ec
parentdf1dadab46b1a1deec017dc4bb20c6325f6fbd23
drm/ttm: Fix spinlock imbalance

commit a8ff3ee211fccf708e1911bbc096625453ebf759 upstream.

This imbalance may cause hangs when TTM is trying to swap out a buffer
that is already on the delayed delete list.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/ttm/ttm_bo.c