<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - USB Type-C monitor flashes once when play a video file after unplug and re-plug the monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110954#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - USB Type-C monitor flashes once when play a video file after unplug and re-plug the monitor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110954">bug 110954</a>
              from <span class="vcard"><a class="email" href="mailto:nathan.d.ciobanu@linux.intel.com" title="Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com>"> <span class="fn">Nathan Ciobanu</span></a>
</span></b>
        <pre>On Mon, Aug 26, 2019 at 09:33:04AM +0000, <a href="mailto:bugzilla-daemon@freedesktop.org">bugzilla-daemon@freedesktop.org</a>
wrote:
<span class="quote">> <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - USB Type-C monitor flashes once when play a video file after unplug and re-plug the monitor"
   href="show_bug.cgi?id=110954">https://bugs.freedesktop.org/show_bug.cgi?id=110954</a>

> --- <a href="show_bug.cgi?id=110954#c20">Comment #20</a> from Stanislav Lisovskiy <<a href="mailto:stanislav.lisovskiy@intel.com">stanislav.lisovskiy@intel.com</a>> ---
> (In reply to Nathan Ciobanu from <a href="show_bug.cgi?id=110954#c18">comment #18</a>)
> > On Wed, Aug 21, 2019 at 08:26:34AM +0000, <a href="mailto:bugzilla-daemon@freedesktop.org">bugzilla-daemon@freedesktop.org</a>
> > wrote:
> > > <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - USB Type-C monitor flashes once when play a video file after unplug and re-plug the monitor"
   href="show_bug.cgi?id=110954">https://bugs.freedesktop.org/show_bug.cgi?id=110954</a>
> > > 
> > > --- <a href="show_bug.cgi?id=110954#c17">Comment #17</a> from Stanislav Lisovskiy <<a href="mailto:stanislav.lisovskiy@intel.com">stanislav.lisovskiy@intel.com</a>> ---
> > > (In reply to Nathan Ciobanu from <a href="show_bug.cgi?id=110954#c16">comment #16</a>)
> > > > On Tue, Aug 20, 2019 at 10:02:48AM +0000, <a href="mailto:bugzilla-daemon@freedesktop.org">bugzilla-daemon@freedesktop.org</a>
> > > > wrote:
> > > > > <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - USB Type-C monitor flashes once when play a video file after unplug and re-plug the monitor"
   href="show_bug.cgi?id=110954">https://bugs.freedesktop.org/show_bug.cgi?id=110954</a>
> > > > > 
> > > > > --- <a href="show_bug.cgi?id=110954#c15">Comment #15</a> from Stanislav Lisovskiy <<a href="mailto:stanislav.lisovskiy@intel.com">stanislav.lisovskiy@intel.com</a>> ---
> > > > > (In reply to Nathan Ciobanu from <a href="show_bug.cgi?id=110954#c13">comment #13</a>)
> > > > > > (In reply to Stanislav Lisovskiy from <a href="show_bug.cgi?id=110954#c12">comment #12</a>)
> > > > > > > What do you mean by "that if you wait for the this reprobing to finish and
> > > > > > > then play the video the flash will not occur"? 
> > > > > > > 
> > > > > > > So it does not happen once you start playback, but at some point before this?
> > > > > > 
> > > > > > The flash happens if you play the video (with audio) before the reprobe, If
> > > > > > you play the video after reprobe it doesn't occur.
> > > > > 
> > > > > But when does reprobe occur? Does it occur on its own or after you replug it or
> > > > > some other action?
> > > > It always occurs regardless of my actions.
> > > 
> > > That is weird then. It should occur only once you do hotplug/change display
> > > configuration. It should not happen on its own, probably that might be origin
> > > of this issue.
> > That is my suspicion as well. I don't know how hda behaves in MST situations
> > but maybe it isn't "ready" right away when the displays finish training but
> > may become "ready" a few seconds later and thus trigger a reprobe. To prove
> > this which register do I need to print?
> > 
> > Thanks,
> > Nathan
> > > 
> > > > 
> > > > > 
> > > > > -- 
> > > > > You are receiving this mail because:
> > > > > You are on the CC list for the bug.
> > > 
> > > -- 
> > > You are receiving this mail because:
> > > You are on the CC list for the bug.

> The dmesg log looks flooded with hpd irq events like this "gen8_de_irq_handler]
> hotplug event received, stat 0x00400000, dig 0x10101110, pins 0x00000040, long
> 0x00000000", I don't think this is even related to hda, most likely there is
> some issue with DP MST itself. The flash probably just happens as a result of
> constant reprobing and simultaneous modeset. 
> Userspace starts reprobing after it gets uevent sent by the driver in response
> to hpd irq.</span >
Does this point to the dock as a possible soure of the hpd interrupts? Do you
think the dock may have an issue? Any register we can dump to prove this? 

Thanks,
Nathan
<span class="quote">> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the bug.</span ></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>