drm/ttm: Fix spinlock imbalance
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Jun 2012 13:39:11 +0000 (15:39 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Jun 2012 16:00:19 +0000 (17:00 +0100)
commita8ff3ee211fccf708e1911bbc096625453ebf759
tree8780763ddef18c1877331c9b97782c7a3d49e1a9
parent416a2bd274566a6f607a271f524b2dc0b84d9106
drm/ttm: Fix spinlock imbalance

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>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c