Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189690
b: refs/heads/master
c: 78bb351
h: refs/heads/master
v: v3
  • Loading branch information
Ben Skeggs committed Apr 9, 2010
1 parent 0ef9267 commit b7e6096
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 494ab824f179ddeb2022cbb1d25aee41ab46ee9b
refs/heads/master: 78bb35129e9400fb50580e971d964563fc8e0218
8 changes: 7 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ nouveau_card_init(struct drm_device *dev)
else
ret = nv04_display_create(dev);
if (ret)
goto out_irq;
goto out_channel;
}

ret = nouveau_backlight_init(dev);
Expand All @@ -519,6 +519,11 @@ nouveau_card_init(struct drm_device *dev)

return 0;

out_channel:
if (dev_priv->channel) {
nouveau_channel_free(dev_priv->channel);
dev_priv->channel = NULL;
}
out_irq:
drm_irq_uninstall(dev);
out_fifo:
Expand All @@ -536,6 +541,7 @@ nouveau_card_init(struct drm_device *dev)
out_gpuobj:
nouveau_gpuobj_takedown(dev);
out_mem:
nouveau_sgdma_takedown(dev);
nouveau_mem_close(dev);
out_instmem:
engine->instmem.takedown(dev);
Expand Down

0 comments on commit b7e6096

Please sign in to comment.