drm/ttm: Fix spinlock imbalance
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Jun 2012 13:39:11 +0000 (15:39 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 10 Jun 2012 13:41:55 +0000 (14:41 +0100)
commit2d60c5acb3df4dc03ed512134c9f61c80cff7e18
treec131b7f3fd9f7097ff210f4670778d833b4c353d
parentf0efda52fb8bffd27c789732d79042c04fc90850
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: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/ttm/ttm_bo.c