Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200758
b: refs/heads/master
c: ee0c6bf
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Eric Anholt committed Jul 1, 2010
1 parent 98019c1 commit 4a84a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d1c9752eaa4c0b38f6fb1ab79a6addc146cd64e
refs/heads/master: ee0c6bfbd602cdad2ab1780061b3b1a9108cbd6c
2 changes: 2 additions & 0 deletions trunk/drivers/gpu/drm/i915/i915_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ static int i915_dma_cleanup(struct drm_device * dev)
if (dev->irq_enabled)
drm_irq_uninstall(dev);

mutex_lock(&dev->struct_mutex);
intel_cleanup_ring_buffer(dev, &dev_priv->render_ring);
if (HAS_BSD(dev))
intel_cleanup_ring_buffer(dev, &dev_priv->bsd_ring);
mutex_unlock(&dev->struct_mutex);

/* Clear the HWS virtual address at teardown */
if (I915_NEED_GFX_HWS(dev))
Expand Down

0 comments on commit 4a84a5d

Please sign in to comment.