Hi intel-gfx folks.<div><br></div><div>This issue is coming up for me again. Can anyone comment on where I can go for an answer?</div><div><br></div><div>bryan.<br><br><div class="gmail_quote">On Fri, Dec 10, 2010 at 10:15 AM, Bryan Freed <span dir="ltr"><<a href="mailto:bfreed@chromium.org">bfreed@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The only additional information I have is that the irq occurs on a regular 6.47s interval.<div><br></div><div>Can anyone comment on the mechanism?</div>
<div><br></div><div><font color="#888888">bryan.</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Dec 7, 2010 at 5:08 PM, Bryan Freed <span dir="ltr"><<a href="mailto:bfreed@chromium.org" target="_blank">bfreed@chromium.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a pineview system with VGA output that takes anywhere from 1 to 5 seconds to detect an external monitor plug in/out, and I am trying to reduce that latency. But I do not know how hotplug detection works.<div>
<br></div>
<div>My first sign of detection is in i915_driver_irq_handler() where we read PORT_HOTPLUG_STAT (0x61114). We quickly get to i915_hotplug_work_func() and drm_sysfs_hotplug_event() after that, but just getting to i915_driver_irq_handler() takes 1 to 5 seconds.</div>
<div><br></div><div>My questions are 1) what takes so long to trigger the irq, and 2) what is the irq mechanism?</div><div><br></div><div>I first thought the i915 was polling over ddc to detect a monitor status change. But I do not see any activity when I probe DDC_DATA or DDC_CLK.</div>
<div>I have not probed while plugging in an actual monitor since that removes my easy-to-probe point.</div><div><br></div><div>Does i915 look for a glitch on one of the signals before it probes DDC?</div><div><br></div><font color="#888888"><div>
bryan.</div><div><br></div><div><br></div>
</font></blockquote></div><br></div></div></div>
</blockquote></div><br></div>