<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 - HDMI output (DisplayPort-0) stops listing modes after using docking station DP output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109340">109340</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HDMI output (DisplayPort-0) stops listing modes after using docking station DP output
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg git
          </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/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zajec5@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=143092" name="attach_143092" title="dmesg">attachment 143092</a> <a href="attachment.cgi?id=143092&action=edit" title="dmesg">[details]</a></span>
dmesg

I use following setup:
1) HP EliteBook 745 G5 with Ryzen 5 PRO 2500U
2) Docking station HP HSTNN-I11X
3) Monitor BenQ GW2260 (HDMI and no DisplayPort)
4) openSUSE Tumbleweed 
5) Self compiled kernel 4.20-rc3 from amd-staging-drm-next with patches:
drm/amd/display: Include names of all PP clock types
x86/MCE/AMD: Fix the thresholding machinery initialization order

My problem is that I can't use notebook's HDMI port (visible as DisplayPort-0)
after using DisplayPort output of docking station. HDMI detects monitor & gets
EDID but xrandr doesn't list any modes.


After booting without docking station & connecting monitor using HDMI port:
DisplayPort-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x800      59.91  
   1280x720      60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94

After connecting docking station & monitor using DP port + HDMI adapter:
[drm] DM_MST: starting TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: added connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: added connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: added connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8
[drm] amdgpu_dm_irq_schedule_work FAILED src 8

After disconnecting monitor & docking station:
[drm] DM_MST: stopping TM on aconnector: 00000000651bd996 [id: 57]
[drm] DM_MST: Disabling connector: 00000000e1b7686d [id: 90] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 0000000078869ed2 [id: 94] [master:
00000000651bd996]
[drm] DM_MST: Disabling connector: 00000000af4e5879 [id: 98] [master:
00000000651bd996]

After connecting monitor using HDMI port:
xrandr: Output DisplayPort-0 is not disconnected but has no modes
(...)
DisplayPort-0 connected (normal left inverted right x axis y axis)


It's a bit weird since HDMI port (DisplayPort-0) seems to detect monitor being
connected & can get EDID. Is there some bug with enumerating available models
caused by DM_MST / TM?</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>