[Bug 105713] New: [GraphicStack] Hotplug is not working as expected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 23 14:47:23 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105713

            Bug ID: 105713
           Summary: [GraphicStack] Hotplug is not working as expected
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: armando.antoniox.mora.reos at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 138313
  --> https://bugs.freedesktop.org/attachment.cgi?id=138313&action=edit
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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180323/06ae1b0a/attachment.html>


More information about the intel-gfx-bugs mailing list