[Bug 82551] [HSW ] HDMI hot plug sporadically cause ERROR

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 13 21:42:55 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82551

--- Comment #4 from liulei <lei.a.liu at intel.com> ---
(In reply to comment #3)
> Created attachment 104557 [details] [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.
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));
     }
 }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140814/c53c3ce9/attachment.html>


More information about the intel-gfx-bugs mailing list