drm/i915: don't forget to uninstall the PM IRQs
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 18:37:13 +0000 (15:37 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 21:09:01 +0000 (23:09 +0200)
It's the only thing missing, apparently.

v2: - Fix typo (Ben).

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c

index 26bfe1bfe06e3869d2040a312fa88be20417c092..72bb443449094bdcb77dbf7ae9ba3b026ae3d223 100644 (file)
@@ -3364,6 +3364,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;