[Bug 109800] [CI][BAT] igt at kms_chamelium@hdmi-hpd-fast - fail - Failed assertion: igt_hotplug_detected(mon, HOTPLUG_TIMEOUT)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 19 12:30:54 UTC 2019


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

Arek Hiler <arkadiusz.hiler at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      i915 features|display/HDMI                |display/LSPCON
           Priority|medium                      |high

--- Comment #4 from Arek Hiler <arkadiusz.hiler at intel.com> ---
Seems like we have two issues here with the same root-cause: LSPCon
What do they mean for the user: somtimes when you plug the cable in nothing
happens - the connector stays disconnected.

Raising the priority to high and changeing feature to display/LSPCON.

Note: DP-1 is connected to LSPCon and exposed as a HDMI port.

Issue 1. LSPcon does not wake up on plug and we don't even get a hotplug event

<6> [155.008282] [IGT] kms_chamelium: starting subtest hdmi-hpd-fast

        reset_state(data, NULL);

<7> [155.697587] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:86:DP-1]
<7> [155.697886] [drm:intel_dp_detect [i915]] [CONNECTOR:86:DP-1]
<7> [155.698118] [drm:intel_power_well_enable [i915]] enabling always-on
<7> [155.698463] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:86:DP-1] disconnected

        igt_hpd_storm_set_threshold(data->drm_fd, 0);

<7> [155.699325] [drm:i915_hpd_storm_ctl_write [i915]] Disabling HPD storm
detection
<7> [155.804532] [drm:intel_power_well_disable [i915]] disabling always-on

        chamelium_plug(data->chamelium, port);
        igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT),
                     "Timed out waiting for hotplug uevent\n");

<6> [176.098043] [IGT] kms_chamelium: exiting, ret=98

and so we have failed & exited after HTOPLUG_TIMEOUT=20s


Issue 2. LSPcon wakes up, we get a hotplug but the full initialization fails
and the port is still considered DISCONNECTED

<6> [261.100503] [IGT] kms_chamelium: starting subtest hdmi-hpd-fast

        reset_state(data, NULL);

<7> [261.766875] [drm:gen8_de_irq_handler [i915]] hotplug event received, stat
0x00200000, dig 0x10101011, pins 0x00000020, long 0x00000000
<7> [261.767045] [drm:intel_hpd_irq_handler [i915]] digital hpd port B - short
<7> [261.767384] [drm:intel_dp_hpd_pulse [i915]] got hpd irq on port B - short
<7> [261.768643] [drm:intel_dp_read_dpcd [i915]] DPCD: 12 14 c4 01 01 15 01 81
00 00 04 00 0f 00 04
<7> [261.769487] [drm:drm_dp_read_desc] DP branch: OUI 00-60-ad dev-ID MC2800
HW-rev 2.2 SW-rev 1.76 quirks 0x0000
<7> [261.770463] [drm:i915_hotplug_work_func [i915]] running encoder hotplug
functions
<7> [261.770792] [drm:i915_hotplug_work_func [i915]] Connector DP-1 (pin 5)
received hotplug event.
<7> [261.771035] [drm:intel_dp_detect [i915]] [CONNECTOR:86:DP-1]
<7> [261.772122] [drm:lspcon_wake_native_aux_ch [i915]] Native AUX CH up, DPCD
version: 1.2
<7> [261.772425] [drm:lspcon_resume [i915]] LSPCON recovering in PCON mode
after 0 ms
<7> [261.773203] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.775151] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.776932] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.778560] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.780333] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.781597] [drm:lspcon_wait_mode [i915]] Current LSPCON mode PCON
<7> [261.782647] [drm:intel_dp_read_dpcd [i915]] DPCD: 12 14 c4 01 01 15 01 81
00 00 04 00 0f 00 04
<7> [261.783483] [drm:drm_dp_read_desc] DP branch: OUI 00-60-ad dev-ID MC2800
HW-rev 2.2 SW-rev 1.76 quirks 0x0000
<7> [261.784410] [drm:intel_encoder_hotplug [i915]] [CONNECTOR:86:DP-1] status
updated from connected to disconnected
<7> [261.788074] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:86:DP-1]
<7> [261.788307] [drm:intel_dp_detect [i915]] [CONNECTOR:86:DP-1]
<7> [261.789405] [drm:lspcon_wake_native_aux_ch [i915]] Native AUX CH up, DPCD
version: 1.2
<7> [261.789777] [drm:lspcon_resume [i915]] LSPCON recovering in PCON mode
after 0 ms
<7> [261.790567] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.792404] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.794076] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.795679] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.797656] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.799284] [drm:lspcon_wait_mode [i915]] Current LSPCON mode PCON
<7> [261.800341] [drm:intel_dp_read_dpcd [i915]] DPCD: 12 14 c4 01 01 15 01 81
00 00 04 00 0f 00 04
<7> [261.801349] [drm:drm_dp_read_desc] DP branch: OUI 00-60-ad dev-ID MC2800
HW-rev 2.2 SW-rev 1.76 quirks 0x0000
<7> [261.801887] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:86:DP-1] disconnected

        igt_hpd_storm_set_threshold(data->drm_fd, 0);

<7> [261.803011] [drm:i915_hpd_storm_ctl_write [i915]] Disabling HPD storm
detection

        chamelium_plug(data->chamelium, port);
        igt_assert_f(igt_hotplug_detected(mon, HOTPLUG_TIMEOUT),
                     "Timed out waiting for hotplug uevent\n");
        status = reprobe_connector(data, port);

<7> [261.816449] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:86:DP-1]
<7> [261.816510] [drm:intel_dp_detect [i915]] [CONNECTOR:86:DP-1]
<7> [261.816965] [drm:lspcon_wake_native_aux_ch [i915]] Native AUX CH up, DPCD
version: 1.2
<7> [261.817031] [drm:lspcon_resume [i915]] LSPCON recovering in PCON mode
after 0 ms
<7> [261.817500] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.818877] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.820132] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.821411] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.822649] [drm:drm_dp_i2c_do_msg] native defer
<7> [261.823467] [drm:lspcon_wait_mode [i915]] Current LSPCON mode PCON
<7> [261.823987] [drm:intel_dp_read_dpcd [i915]] DPCD: 12 14 c4 01 01 15 01 81
00 00 04 00 0f 00 04
<7> [261.824442] [drm:drm_dp_read_desc] DP branch: OUI 00-60-ad dev-ID MC2800
HW-rev 2.2 SW-rev 1.76 quirks 0x0000kk
<7> [261.824800] [drm:drm_helper_probe_single_connector_modes]
[CONNECTOR:86:DP-1] disconnected

        igt_assert_f(status == DRM_MODE_CONNECTED,
                     "Invalid connector status after hotplug: "
                     "got %s, expected connected\n",
                     connection_str(status));

<6> [261.941908] [IGT] kms_chamelium: exiting, ret=98

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


More information about the intel-gfx-bugs mailing list