<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW] i915 doesn't enable DP-2 on MacBook 11,1 (Retina, Intel Only, Late 2013 / Mid 2014)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89271#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HSW] i915 doesn't enable DP-2 on MacBook 11,1 (Retina, Intel Only, Late 2013 / Mid 2014)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89271">bug 89271</a>
              from <span class="vcard"><a class="email" href="mailto:hyperair@gmail.com" title="Chow Loong Jin <hyperair@gmail.com>"> <span class="fn">Chow Loong Jin</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=134561" name="attach_134561" title="dmesg without drm.debug=14 and before/after hotplug thunderbolt dumps">attachment 134561</a> <a href="attachment.cgi?id=134561&action=edit" title="dmesg without drm.debug=14 and before/after hotplug thunderbolt dumps">[details]</a></span>
dmesg without drm.debug=14 and before/after hotplug thunderbolt dumps

I have one eDP-1 and one DP-1. When booted with the monitor plugged in, it
works and both /sys/class/drm/card0-eDP-1/enabled and
/sys/class/drm/card0-DP-1/enabled show "enabled".

After unplugging it and plugging it back in, only
/sys/class/drm/card0-eDP-1/enabled shows up, and it's impossible to bring back
the external display without rebooting.

While examining the thunderbolt dump in dmesg from a booting up event and after
replugging it, I noticed that two DP/HDMI ports are missing in the latter dump:

[   28.716581] thunderbolt 0000:07:00.0:  Port 11: 8086:156d (Revision: 0, TB
Version: 1, Type: DP/HDMI (0xe0101))
[   28.716582] thunderbolt 0000:07:00.0:   Max hop id (in/out): 9/9
[   28.716583] thunderbolt 0000:07:00.0:   Max counters: 2
[   28.716584] thunderbolt 0000:07:00.0:   NFC Credits: 0xf0000b
[   28.716602] thunderbolt 0000:07:00.0:  Port 12: 8086:156d (Revision: 0, TB
Version: 1, Type: DP/HDMI (0xe0101))
[   28.716603] thunderbolt 0000:07:00.0:   Max hop id (in/out): 9/9
[   28.716603] thunderbolt 0000:07:00.0:   Max counters: 2
[   28.716604] thunderbolt 0000:07:00.0:   NFC Credits: 0xf00000</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>