<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 - [GraphicStack] Hotplug is not working as expected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105713">105713</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GraphicStack] Hotplug is not working as expected
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>armando.antoniox.mora.reos@intel.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=138313" name="attach_138313" title="dmesg log">attachment 138313</a> <a href="attachment.cgi?id=138313&action=edit" title="dmesg log">[details]</a></span>
dmesg log

Trying to run some test about Hotplug on CNL with a Graphic Stack installed, 
I could see that when I disconnect one display the others ones turn off, some
times I could turn them on again using

xrandr --output <DISPLAY> --auto 

but other times i wasn't able to turn them on again and what I had to do is a
hard reset.


Steps to reproduce:

1.Connect three monitors, my case HDMI, eDP and Type-C to DP
2.Try to perform an unplug and plug
3.Watch the others monitors turn off and they never come back. 

I am not sure if this is useful but I saw in dmesg the following logs:

41 [57167.761542] [drm:intel_dp_aux_xfer [i915]] dp_aux_ch timeout status
0x7c2003ff
 8642 [57167.761557] [drm:intel_power_well_disable [i915]] disabling AUX B
 8643 [57167.761605] [drm:intel_power_well_enable [i915]] enabling AUX B
 8644 [57167.778058] [drm:intel_dp_aux_xfer [i915]] dp_aux_ch timeout status
0x7c2003ff
 8645 [57167.778072] [drm:intel_power_well_disable [i915]] disabling AUX B
 8646 [57167.778110] [drm:intel_power_well_enable [i915]] enabling AUX B
 8647 [57167.794563] [drm:intel_dp_aux_xfer [i915]] dp_aux_ch timeout status
0x7c2003ff
 8648 [57167.794577] [drm:intel_power_well_disable [i915]] disabling AUX B
 8649 [57167.794636] [drm:intel_power_well_enable [i915]] enabling AUX B
 8650 [57167.811091] [drm:intel_dp_aux_xfer [i915]] dp_aux_ch timeout status
0x7c2003ff
 8651 [57167.811122] [drm:intel_power_well_disable [i915]] disabling AUX B
 8652 [57167.811166] [drm:drm_dp_dpcd_access] Too many retries, giving up.
First error: -110

Or

10420 [57180.605458] [drm:gen8_de_irq_handler [i915]] hotplug event received,
stat 0x00400000, dig 0x10101210, pins 0x00000040
10421 [57180.605552] [drm:intel_hpd_irq_handler [i915]] Received HPD interrupt
on PIN 6 - cnt: 0
10422 [57180.605708] [drm:i915_hotplug_work_func [i915]] running encoder
hotplug functions
10423 [57180.605836] [drm:i915_hotplug_work_func [i915]] Connector HDMI-A-1
(pin 6) received hotplug event.
10424 [57180.605972] [drm:intel_hdmi_detect [i915]] [CONNECTOR:115:HDMI-A-1]
10425 [57180.606668] [drm:do_gmbus_xfer [i915]] GMBUS [i915 gmbus dpc] NAK for
addr: 0050 w(1)
10426 [57180.606805] [drm:do_gmbus_xfer [i915]] GMBUS [i915 gmbus dpc] NAK on
first message, retry
10427 [57180.607394] [drm:do_gmbus_xfer [i915]] GMBUS [i915 gmbus dpc] NAK for
addr: 0050 w(1)
10428 [57180.607473] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent
adapter i915 gmbus dpc
10429 [57180.607573] [drm:intel_hdmi_set_edid [i915]] HDMI GMBUS EDID read
failed, retry using GPIO bit-banging
10430 [57180.607667] [drm:intel_gmbus_force_bit [i915]] enabling bit-banging on
i915 gmbus dpc. force bit now 1
10431 [57180.616811] [drm:drm_do_probe_ddc_edid] drm: skipping non-existent
adapter i915 gmbus dpc
10432 [57180.616878] [drm:intel_gmbus_force_bit [i915]] disabling bit-banging
on i915 gmbus dpc. force bit now 0
10433 [57180.617441] [drm:do_gmbus_xfer [i915]] GMBUS [i915 gmbus dpc] NAK for
addr: 0040 w(1)
10434 [57180.617482] [drm:do_gmbus_xfer [i915]] GMBUS [i915 gmbus dpc] NAK on
first message, retry
10435 [57180.617983] [drm:do_gmbus_xfer [i915]] GMBUS [i915 gmbus dpc] NAK for
addr: 0040 w(1)
10436 [57180.618053] [drm:drm_dp_dual_mode_detect] DP dual mode HDMI ID:  (err
-6)

Platform configuration:
Cairo- 1.15.8-123-g5454b85d4
drm - libdrm-2.4.91-10-ga58490de
igt = intel-gpu-tools-1.22-18-g5c146fcf
vaapi - 2.1.0-37-g65ee298
libinput - 1.10.0-74-ge4ce6dfb
libva - 2.1.0-6-g88084bc
libva-utils - 2.1.0-2-gc77a46c
libXfont - libXfont2-2.0.3
macros - util-macros-1.19.2
xf86-input-evdev-2.10.5-5-gab1d9ad
xf86-input-libinput-0.26.0-3-g9d9f59f
xf86-video-fbdev-0.4.4-13-g9af7f81
xf86-video-intel - 2.99.917-814-gaa36399c
xf86-video-vesa-2.4.0
xorgproto - xorgproto-2018.4-1-g702d2ea
xserver - xorg-server-1.19.99.901-29-gedf08bd65
mesa - 17.3-branchpoint-3960-g03e37ec6d7

Current monitors connected :
1xeDP, 1xHDMI and 1xType-C to DP

======================================
             Software
======================================
kernel version              : 4.15.0-rc9-drm-tip-ww4-commit-59275f1+
hostname                    : gfx-desktop
architecture                : x86_64
os version                  : Ubuntu 17.10
os codename                 : artful
kernel driver               : i915
bios revision               : 124.2
bios release date           : 02/05/2018
ksc                         : 1.36
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p2)

======================================
        Graphic drivers
======================================
mesa                        : 17.3-3960-g03e37ec6d7
libdrm                      : 2.4.91-10-ga58490de
cairo                       : 1.15.8-123-g5454b85d4

======================================
             Hardware
======================================
motherboard model          : CannonLakeClientPlatform
motherboard id             : CannonLakeYLPDDR4RVP
form factor                : Laptop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 1.10GHz
gpu card                   : Intel Corporation Device 5a41 (rev 04) (prog-if 00
[VGA controller])
memory ram                 : 7.63 GB
max memory ram             : 8 GB
display resolution         : 3520x1080
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 102
cpu stepping               : 3
socket                     : Other
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1 HDMI-1 DP-2

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 0.0, found 0.0
guc version found         : wanted 0.0, found 0.0

======================================
             kernel parameters
======================================
splash i915.alpha_support=1 drm.debug=0x1e i915.enable_psr=1</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>