<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [Intel NUC] HDMI1 sometimes stops working after resuming from s3 (a single monitor setup)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106182#c33">Comment # 33</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [Intel NUC] HDMI1 sometimes stops working after resuming from s3 (a single monitor setup)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106182">bug 106182</a>
              from <span class="vcard"><a class="email" href="mailto:imre.deak@intel.com" title="Imre Deak <imre.deak@intel.com>"> <span class="fn">Imre Deak</span></a>
</span></b>
        <pre>(In reply to Robert Liu from <a href="show_bug.cgi?id=106182#c32">comment #32</a>)
<span class="quote">> Re-run the stress test and make the issue happens.
> Then use the commands in the <a href="show_bug.cgi?id=106182#c29">comment #29</a>.
> The commands bring the screen back.</span >

Ok, thanks for trying. So it looks like we're seeing the same issue and we have
atm one way to recover from the stuck state. This tells me that the source DDI
port is outputting a proper video signal, but the retimer chip doesn't forward
it to the connector in the stuck state.

For a proper solution (also one that works for the second HDMI port) I'd still
like to find the root cause for how the chip gets to the stuck state in the
first place. I'll follow up if I find out anything.

<span class="quote">> 
> root@u-NUC7PJYH:~# v=$(outb 0x66 0x80; outb 0x62 0x1a; inb 0x62)
> root@u-NUC7PJYH:~# echo $v
> 3
> root@u-NUC7PJYH:~# outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $(( v | 9 ))
> root@u-NUC7PJYH:~# outb 0x66 0x80; outb 0x62 0x1a; inb 0x62
> 11
> root@u-NUC7PJYH:~#  
> root@u-NUC7PJYH:~# sleep 0.1
> root@u-NUC7PJYH:~# 
> root@u-NUC7PJYH:~# outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $(( v | 1 ))
> root@u-NUC7PJYH:~# outb 0x66 0x81; outb 0x62 0x1a; outb 0x62 $v
> (screen is on)</span ></pre>
        </div>
      </p>


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

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