Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228721
b: refs/heads/master
c: 75a6898
h: refs/heads/master
i:
  228719: 2a7cfd3
v: v3
  • Loading branch information
Eric Anholt authored and Chris Wilson committed Nov 22, 2010
1 parent 2c27642 commit a903eed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: df9c2042858e85ab46731c13e708a5b0799db848
refs/heads/master: 75a6898ffd20a13aba8d03f005eb4ab940134fcb
9 changes: 7 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,14 @@ int i915_reset(struct drm_device *dev, u8 flags)
*/
if (drm_core_check_feature(dev, DRIVER_MODESET) ||
!dev_priv->mm.suspended) {
struct intel_ring_buffer *ring = &dev_priv->render_ring;
dev_priv->mm.suspended = 0;
ring->init(ring);

dev_priv->render_ring.init(&dev_priv->render_ring);
if (HAS_BSD(dev))
dev_priv->bsd_ring.init(&dev_priv->bsd_ring);
if (HAS_BLT(dev))
dev_priv->blt_ring.init(&dev_priv->blt_ring);

mutex_unlock(&dev->struct_mutex);
drm_irq_uninstall(dev);
drm_irq_install(dev);
Expand Down

0 comments on commit a903eed

Please sign in to comment.