From: Jesse Barnes Date: Fri, 20 Jun 2014 18:57:33 +0000 (-0700) Subject: drm/i915: mark IRQs as disabled on unload X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eb21b92ba0f591e7cc061440c14354fcd5762e45;p=openwrt%2Fstaging%2Fblogic.git drm/i915: mark IRQs as disabled on unload To avoid more spew with the new warnings. Signed-off-by: Jesse Barnes Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 1cdd1c16d983..f2416d764b03 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -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.