[Intel-gfx] [PATCH 1/3] drm/i915: Cancel the hotplug re-enable timer on BDW

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Jan 17 10:35:14 CET 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

We forgot to cancel the hotplug re-enable timer in gen8_irq_uninstall().

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 drivers/gpu/drm/i915/i915_irq.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 6d11e25..fa2b6cf 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -3001,6 +3001,8 @@ static void gen8_irq_uninstall(struct drm_device *dev)
 	if (!dev_priv)
 		return;
 
+	del_timer_sync(&dev_priv->hotplug_reenable_timer);
+
 	atomic_set(&dev_priv->irq_received, 0);
 
 	I915_WRITE(GEN8_MASTER_IRQ, 0);
-- 
1.8.3.2




More information about the Intel-gfx mailing list