Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269821
b: refs/heads/master
c: a9e2641
h: refs/heads/master
i:
  269819: 0d1f876
v: v3
  • Loading branch information
Daniel Vetter authored and Keith Packard committed Oct 20, 2011
1 parent 787d202 commit 30fd081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 4fb066ab9ef3111c86d9fb8f13f1178885cf7f1c
refs/heads/master: a9e2641dee52cae2db7688a749344365642a5e79
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ static void gen6_pm_rps_work(struct work_struct *work)
pm_iir = dev_priv->pm_iir;
dev_priv->pm_iir = 0;
pm_imr = I915_READ(GEN6_PMIMR);
I915_WRITE(GEN6_PMIMR, 0);
spin_unlock_irq(&dev_priv->rps_lock);

if (!pm_iir)
Expand Down Expand Up @@ -420,7 +421,6 @@ static void gen6_pm_rps_work(struct work_struct *work)
* an *extremely* unlikely race with gen6_rps_enable() that is prevented
* by holding struct_mutex for the duration of the write.
*/
I915_WRITE(GEN6_PMIMR, pm_imr & ~pm_iir);
mutex_unlock(&dev_priv->dev->struct_mutex);
}

Expand Down

0 comments on commit 30fd081

Please sign in to comment.