drm/i915: mark IRQs as disabled on unload

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>
This commit is contained in:
Jesse Barnes 2014-06-20 11:57:33 -07:00 committed by Daniel Vetter
parent ed2e6df189
commit eb21b92ba0
1 changed files with 2 additions and 0 deletions

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