<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: wrong device names in /sys/class/drm"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84717">84717</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DP MST: wrong device names in /sys/class/drm
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg CVS
          </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>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </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>dev@blackamp.de
          </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>With latest version of the intel driver
(ec2b9ac81aed0d2dda2948171ca1c260184bf221) I find the MST devices correctly
named (DP2-subid) in xrandr:
# xrandr|grep connected
eDP1 connected 1920x1080+0+1080 (normal left inverted right x axis y axis)
309mm x 175mm
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP2-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm
x 299mm
DP2-2 connected 1200x1600+1920+0 left (normal left inverted right x axis y
axis) 432mm x 324mm
DP2-3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

However in /sys/class/drm the folders follow the old naming scheme:
# ls /sys/class/drm/
card0  card0-DP-1  card0-DP-2  card0-DP-3  card0-DP-4  card0-DP-5  card0-eDP-1 
card0-HDMI-A-1  card0-HDMI-A-2  controlD64  renderD128  version

I am not sure as of yet whether the mapping between the continuous numbers and
the MST devices is persistent. I would have expected to find the same naming
used in /sys/class/drm as I found in xrandr. Please let me know what additional
information to supply.</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>