drm/i915: don't forget to uninstall the PM IRQs

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>
This commit is contained in:
Paulo Zanoni 2014-04-01 15:37:13 -03:00 committed by Daniel Vetter
parent c955483fac
commit c71ae0148e

View 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;