Set both the PM core interrupt regs and the PM specific interrupt maks
to only allow interrupts we handle. This prevents spurious interrupts
and just makes more sense.
v2: use a mask for the mask reg
Signed-off-by: Jesse Barnes
---
drivers/gpu/drm/i915/i915_reg.h |6 ++
drivers/gp
On Tue, 09 Aug 2011 10:02:54 -0700
Keith Packard wrote:
> On Tue, 9 Aug 2011 09:29:20 -0700, Jesse Barnes
> wrote:
>
> > - I915_WRITE(GEN6_PMIMR, 0);
> > + I915_WRITE(GEN6_PMIMR, ~GEN6_PM_DEFERRED_EVENTS);
> > spin_unlock_irq(&dev_priv->rps_lock);
> > - /* enable all PM interrupts *
On Tue, 9 Aug 2011 09:29:20 -0700, Jesse Barnes
wrote:
> - I915_WRITE(GEN6_PMIMR, 0);
> + I915_WRITE(GEN6_PMIMR, ~GEN6_PM_DEFERRED_EVENTS);
> spin_unlock_irq(&dev_priv->rps_lock);
> - /* enable all PM interrupts */
> - I915_WRITE(GEN6_PMINTRMSK, 0);
> + /* Enable only
Set both the PM core interrupt regs and the PM specific interrupt maks
to only allow interrupts we handle. This prevents spurious interrupts
and just makes more sense.
Signed-off-by: Jesse Barnes
---
drivers/gpu/drm/i915/i915_reg.h |6 ++
drivers/gpu/drm/i915/intel_display.c | 12