aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-10-17 21:01:34 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 00:06:40 -0500
commit36c952e8b3bad911ef13111058f0a5c4b361027e (patch)
tree1066c8048834958a44ef47cf4f9a03e5a699ed2b
parentfeeb0aecfb73b5b7699c0a85ba1650e6f9c50be2 (diff)
drm/nouveau: Fix lock unbalance on card take down.
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 1a4ba6ccafb1..af203cc5d7ad 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -714,7 +714,7 @@ static void nouveau_card_takedown(struct drm_device *dev)
714 714
715 if (!engine->graph.accel_blocked) { 715 if (!engine->graph.accel_blocked) {
716 nouveau_fence_fini(dev); 716 nouveau_fence_fini(dev);
717 nouveau_channel_put(&dev_priv->channel); 717 nouveau_channel_put_unlocked(&dev_priv->channel);
718 } 718 }
719 719
720 if (!nouveau_noaccel) { 720 if (!nouveau_noaccel) {