Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218309
b: refs/heads/master
c: 701394c
h: refs/heads/master
i:
  218307: fea37a4
v: v3
  • Loading branch information
Daniel Vetter authored and Chris Wilson committed Oct 19, 2010
1 parent f7d3e56 commit 892cd9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 939fe4d7d6e2c92370ca5d1fb70e81043f5ff8d9
refs/heads/master: 701394cc534a4a7883ddc4f8f82fb438b3d664ff
6 changes: 3 additions & 3 deletions trunk/drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -2133,9 +2133,6 @@ int i915_driver_unload(struct drm_device *dev)
if (dev->pdev->msi_enabled)
pci_disable_msi(dev->pdev);

if (dev_priv->regs != NULL)
iounmap(dev_priv->regs);

intel_opregion_fini(dev);

if (drm_core_check_feature(dev, DRIVER_MODESET)) {
Expand All @@ -2157,6 +2154,9 @@ int i915_driver_unload(struct drm_device *dev)
i915_free_hws(dev);
}

if (dev_priv->regs != NULL)
iounmap(dev_priv->regs);

intel_teardown_gmbus(dev);
intel_teardown_mchbar(dev);

Expand Down

0 comments on commit 892cd9b

Please sign in to comment.