Skip to content

Commit

Permalink
drm/nouveau: Fix lock unbalance on card take down.
Browse files Browse the repository at this point in the history
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Dec 3, 2010
1 parent feeb0ae commit 36c952e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ static void nouveau_card_takedown(struct drm_device *dev)

if (!engine->graph.accel_blocked) {
nouveau_fence_fini(dev);
nouveau_channel_put(&dev_priv->channel);
nouveau_channel_put_unlocked(&dev_priv->channel);
}

if (!nouveau_noaccel) {
Expand Down

0 comments on commit 36c952e

Please sign in to comment.