<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [HSW ] HDMI hot plug sporadically cause ERROR"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82551#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [HSW ] HDMI hot plug sporadically cause ERROR"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82551">bug 82551</a>
from <span class="vcard"><a class="email" href="mailto:lei.a.liu@intel.com" title="liulei <lei.a.liu@intel.com>"> <span class="fn">liulei</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=82551#c3">comment #3</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=104557" name="attach_104557" title="Delay the hotplug event">attachment 104557</a> <a href="attachment.cgi?id=104557&action=edit" title="Delay the hotplug event">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=82551&attachment=104557'>[review]</a> [review]
> Delay the hotplug event
>
> Please try this patch. It should delay the detection to 50ms after the
> hotplug interrupt, which should be enough time for the HDMI monitor to
> settle.</span >
Hi, I can't find this path context. So I failed to try this patch.
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -1143,7 +1143,8 @@ static void i915_digport_work_func(struct work_struct
*work)
dev_priv->hpd_event_bits |= old_bits;
spin_unlock_irqrestore(&dev_priv->irq_lock, irqflags);
- schedule_work(&dev_priv->hotplug_work);
+ schedule_delayed_work(&dev_priv->hotplug_work,
+ msecs_to_jiffies(50));
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>