<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 - Unplugging the HDMI/DP/mDP cable from dock will not automically resize framebuffer"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101461">101461</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unplugging the HDMI/DP/mDP cable from dock will not automically resize framebuffer
</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/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ethan.hsieh@canonical.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=131992" name="attach_131992" title="Kernel log (drm.debug=0xe), Xorg.0.log, xrandr, and screenshot">attachment 131992</a> <a href="attachment.cgi?id=131992&action=edit" title="Kernel log (drm.debug=0xe), Xorg.0.log, xrandr, and screenshot">[details]</a></span>
Kernel log (drm.debug=0xe), Xorg.0.log, xrandr, and screenshot
Unplugging the HDMI/DP/mDP cable from dock will not automically resize
framebuffer. drm/i915 receives hotplug event, but does not handle it.
I submitted a patch , but it was rejected.
<a href="https://patchwork.freedesktop.org/patch/161729/">https://patchwork.freedesktop.org/patch/161729/</a>
Here is the reply from <a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>
---
We're not supposed to handle it like that. The HPD is for the main encoder,
the MST hotplug handling comes via the topology manager.
---
Reproduction steps:
1. The external monitor with DP/mDP/HDMI cable connected to Dell Dock.
All two displays: Built-in LCD and external DP/mDP/HDMI monitor
2. Boot to Ubuntu Desktop
3. See two displays (extend mode)
4. Unplug the DP/mDP/HDMI cable
5. Press the "PrtScn" button to capture the screen.
We still have two screens after unplugging the cable.
Additional information:
1. Kernel: 4.12.0-994-generic x86_64
2. Linux distribution: Ubuntu 16.04.2 LTS
3. Laptop: Dell Precision 5520
4. Dell Business Thunderbolt Dock - TB16
<a href="https://goo.gl/vFDjpi">https://goo.gl/vFDjpi</a>
5. kernel log:
[CONNECTOR:48:eDP-1]: Built-in LCD
[CONNECTOR:74:DP-4]: The external monitor connected to Dell Dock
How to recover:
1. Go to [All Settings] => [Displays] => Press [Detect Displays], or
2. Run xrandr to resize the screen</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 the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>