Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154344
b: refs/heads/master
c: 9e06dd3
h: refs/heads/master
v: v3
  • Loading branch information
Jesse Barnes authored and Eric Anholt committed Jun 23, 2009
1 parent 223e755 commit 126781c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: be9f1c4f738a715abbd8ea742f3ec60a1ce73f4b
refs/heads/master: 9e06dd39f2b6d7e35981e0d7aded618686b32ccb
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ static int i915_suspend(struct drm_device *dev, pm_message_t state)

pci_save_state(dev->pdev);

i915_save_state(dev);

/* If KMS is active, we do the leavevt stuff here */
if (drm_core_check_feature(dev, DRIVER_MODESET)) {
if (i915_gem_idle(dev))
Expand All @@ -77,6 +75,8 @@ static int i915_suspend(struct drm_device *dev, pm_message_t state)
drm_irq_uninstall(dev);
}

i915_save_state(dev);

intel_opregion_free(dev, 1);

if (state.event == PM_EVENT_SUSPEND) {
Expand Down

0 comments on commit 126781c

Please sign in to comment.