Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318610
b: refs/heads/master
c: 8e88a2b
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Jun 20, 2012
1 parent e11fbe0 commit 67c6353
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 5fa8be65e950e4f2a4e7dc31f823fca41b9e650e
refs/heads/master: 8e88a2bd5987178d16d53686197404e149e996d9
9 changes: 6 additions & 3 deletions trunk/drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,10 +904,13 @@ int i915_reset(struct drm_device *dev)
i915_gem_context_init(dev);
i915_gem_init_ppgtt(dev);

mutex_unlock(&dev->struct_mutex);
/*
* It would make sense to re-init all the other hw state, at
* least the rps/rc6/emon init done within modeset_init_hw. For
* some unknown reason, this blows up my ilk, so don't.
*/

if (drm_core_check_feature(dev, DRIVER_MODESET))
intel_modeset_init_hw(dev);
mutex_unlock(&dev->struct_mutex);

drm_irq_uninstall(dev);
drm_irq_install(dev);
Expand Down

0 comments on commit 67c6353

Please sign in to comment.