drm/i915: mark IRQs as disabled on unload
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Jun 2014 18:57:33 +0000 (11:57 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Jul 2014 05:05:36 +0000 (07:05 +0200)
To avoid more spew with the new warnings.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 1cdd1c1..f2416d7 100644 (file)
@@ -13050,6 +13050,8 @@ void intel_modeset_cleanup(struct drm_device *dev)
         */
        drm_irq_uninstall(dev);
        cancel_work_sync(&dev_priv->hotplug_work);
+       dev_priv->pm._irqs_disabled = true;
+
        /*
         * Due to the hpd irq storm handling the hotplug work can re-arm the
         * poll handlers. Hence disable polling after hpd handling is shut down.