<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DP MST with WD15 Dock leads to inconsistent port number"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=112136">112136</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DP MST with WD15 Dock leads to inconsistent port number
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>not set
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>not set
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>p.pawit@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=145815" name="attach_145815" title="dmesg with "drm.debug=0x1e log_buf_len=1M"">attachment 145815</a> <a href="attachment.cgi?id=145815&action=edit" title="dmesg with "drm.debug=0x1e log_buf_len=1M"">[details]</a></span>
dmesg with "drm.debug=0x1e log_buf_len=1M"

I am using a Dell Latitude 5491 with the WD15 dockr over USB type-C. The Dock
is a DP MST Dock which 3 ports: HDMI, mDP and VGA. I am using HDMI and mDP. The
displays work correctly, however, when I unplug and replug the displays, they
get new names leading them to reset to the default display configuration until
I also configure displays with that name.

Tested to be broken on 5.3.7 as well as 5.4-rc4.

Attached dmesg and xrandr.

1) Booted up while connected to Dock. Displays show up as DP-2-1 (DP-4 in the
kernel) and DP-5. DP-6 also shows up but is disconnected (this is probably the
VGA work). The output of xrandr is in xrandr_before_verbose.txt
2) Detached dock from system. (See "XXXXXXXXXXXXXX unplug" in dmesg)
3) Replug dock to system. (See "XXXXXXXXXXXXXX replug" in demsg)
4) DP-2-1 and DP-5 show as disconnected. Monitors show as DP-6 and DP-7
instead. DP-8 also shows up disconnected.
5) End of log (See "XXXXXXXXXXXXXX done" in dmesg)

Expected behavior: Two monitors show up as DP-2-1 and DP-2-2 and remain that
way consistently.

The first time I unplug/replug after boot, this happens without fail. However,
the later times sometimes the display port name changes sometimes it doesn't.

Linux Distribution: Mint 19.2</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>