public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/hotplug: Fixing storm handling for digital ports
@ 2015-06-29 11:00 Sivakumar Thulasimani
  2015-06-29 16:37 ` Daniel Vetter
  2015-06-29 22:32 ` shuang.he
  0 siblings, 2 replies; 11+ messages in thread
From: Sivakumar Thulasimani @ 2015-06-29 11:00 UTC (permalink / raw)
  To: jani.nikula, intel-gfx

From: "Thulasimani, Sivakumar" <sivakumar.thulasimani@intel.com>

HPD storm is detected in intel_hpd_irq_handler and disabled for respective
port immediately but polling is enabled only in i915_hotplug_work_func and
not in i915_digport_work_func. This will result in disabled hpd never enabled
back again. This is fixed by calling the appropriate storm disable function
that will handle the rest of the sequence (both polling enable and reenabling
of HPD later).
---
 drivers/gpu/drm/i915/intel_hotplug.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_hotplug.c b/drivers/gpu/drm/i915/intel_hotplug.c
index 3c53aac..8e18587 100644
--- a/drivers/gpu/drm/i915/intel_hotplug.c
+++ b/drivers/gpu/drm/i915/intel_hotplug.c
@@ -205,6 +205,10 @@ static void i915_digport_work_func(struct work_struct *work)
 	dev_priv->hotplug.long_port_mask = 0;
 	short_port_mask = dev_priv->hotplug.short_port_mask;
 	dev_priv->hotplug.short_port_mask = 0;
+
+	/* Disable hotplug on connectors that hit an irq storm. */
+	intel_hpd_irq_storm_disable(dev_priv);
+
 	spin_unlock_irq(&dev_priv->irq_lock);
 
 	for (i = 0; i < I915_MAX_PORTS; i++) {
-- 
1.7.9.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-07-01 12:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-29 11:00 [PATCH] drm/i915/hotplug: Fixing storm handling for digital ports Sivakumar Thulasimani
2015-06-29 16:37 ` Daniel Vetter
2015-06-30  3:15   ` Sivakumar Thulasimani
2015-06-30 10:10     ` Daniel Vetter
2015-06-30 10:19       ` Jani Nikula
2015-06-30 11:16         ` Daniel Vetter
2015-06-30 12:30           ` Jani Nikula
2015-06-30 12:47             ` Ville Syrjälä
2015-07-01 12:38               ` Daniel Vetter
2015-07-01 12:56                 ` Sivakumar Thulasimani
2015-06-29 22:32 ` shuang.he

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox