summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2014-01-10 15:40:26 -0200
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2014-02-26 18:42:27 -0300
commit97c4133772497d700789461a746f0e6106a0a7f0 (patch)
tree863eae45bb95735f1b874ece869fc4631a55a99e
parentbafee30aec9e2d164650e2bf77bdd089b834158d (diff)
drm/i915: don't forget to uninstall the PM IRQs
It's the only thihg missing, apparently. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
-rw-r--r--drivers/gpu/drm/i915/i915_irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 570db542885c..cebe4143a9d1 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -3292,6 +3292,8 @@ static void ironlake_irq_uninstall(struct drm_device *dev)
I915_WRITE(GEN7_ERR_INT, I915_READ(GEN7_ERR_INT));
GEN5_IRQ_FINI(GT);
+ if (INTEL_INFO(dev)->gen >= 6)
+ GEN5_IRQ_FINI(GEN6_PM);
if (HAS_PCH_NOP(dev))
return;