Summary: | [CI][DRMTIP] Frequent link training failures on fi-icl-u4 cause sporadic modeset failures in random CI tests | ||
---|---|---|---|
Product: | DRI | Reporter: | Lakshmi <lakshminarayana.vudum> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | DRI git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | ReadyForDev | ||
i915 platform: | ICL | i915 features: | display/Other |
Description
Lakshmi
2019-07-22 10:51:29 UTC
The CI Bug Log issue associated to this bug has been updated. ### New filters associated * fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_326/fi-icl-u4/igt@kms_atomic_transition@plane-all-modeset-transition-fencing.html - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_328/fi-icl-u4/igt@kms_cursor_crc@pipe-c-cursor-128x128-rapid-movement.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_336/fi-icl-u4/igt@kms_sequence@get-forked-busy.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_341/fi-icl-u4/igt@kms_sequence@queue-idle.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} No new failures caught with the new filter A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_350/fi-icl-u4/igt@kms_cursor_crc@pipe-b-cursor-256x85-random.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_351/fi-icl-u4/igt@kms_cursor_crc@pipe-b-cursor-256x85-random.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_352/fi-icl-u4/igt@kms_sequence@get-busy.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_355/fi-icl-u4/igt@kms_color@pipe-c-ctm-negative.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_355/fi-icl-u4/igt@kms_universal_plane@universal-plane-pipe-a-functional.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_356/fi-icl-u4/igt@kms_color@pipe-c-ctm-negative.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_356/fi-icl-u4/igt@kms_universal_plane@universal-plane-pipe-a-functional.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_356/fi-icl-u4/igt@kms_color@pipe-b-ctm-blue-to-red.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_357/fi-icl-u4/igt@kms_color@pipe-c-ctm-negative.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_357/fi-icl-u4/igt@kms_universal_plane@universal-plane-pipe-c-functional.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_360/fi-icl-u4/igt@kms_color@pipe-c-gamma.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_361/fi-icl-u4/igt@kms_color@pipe-a-ctm-0-25.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_361/fi-icl-u4/igt@kms_sequence@get-idle.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_361/fi-icl-u4/igt@kms_color@pipe-c-ctm-red-to-blue.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_371/fi-icl-u4/igt@kms_color@pipe-c-ctm-0-75.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_371/fi-icl-u4/igt@kms_pipe_crc_basic@read-crc-pipe-b.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_373/fi-icl-u4/igt@kms_atomic_transition@plane-toggle-modeset-transition.html A CI Bug Log filter associated to this bug has been updated: {- fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 -} {+ fi-icl-u4 : Random tests - fail - Failed assertion: ret == 0, error: -22 != 0 +} New failures caught by the filter: * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_374/fi-icl-u4/igt@kms_color@pipe-b-ctm-0-25.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_375/fi-icl-u4/igt@kms_color@pipe-b-ctm-0-25.html * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_376/fi-icl-u4/igt@kms_color@pipe-b-ctm-0-25.html *** Bug 111067 has been marked as a duplicate of this bug. *** The failures here are caused by our tests requesting modes that cannot be satisfied by the link. Link training failures on this output have restricted us to a single lane and data rate of 270000. Here's an excerpt from one of the logs; we can see it initially failing with two lanes at the lowest link rate, dropping down to one lane and still failing at a 540000 rate. It settles on one lane a rate of 270000 as possible: <7> [893.126576] [drm:intel_dp_compute_config [i915]] DP link computation with max lane count 2 max rate 162000 max bpp 24 pixel clock 135000KHz <7> [893.126609] [drm:intel_dp_compute_config [i915]] Force DSC en = 0 <7> [893.126640] [drm:intel_dp_compute_config [i915]] DP lane count 2 clock 162000 bpp 18 <7> [893.126672] [drm:intel_dp_compute_config [i915]] DP link rate required 303750 available 324000 ... <7> [895.074804] [drm:intel_dp_start_link_train [i915]] [CONNECTOR:224:DP-4] Link Training failed at link rate = 162000, lane count = 2 ... <7> [901.225019] [drm:intel_dp_start_link_train [i915]] [CONNECTOR:224:DP-4] Link Training failed at link rate = 540000, lane count = 1 ... <7> [901.376322] [drm:intel_dp_compute_config [i915]] DP link computation with max lane count 1 max rate 270000 max bpp 24 pixel clock 148500KHz However it's trying to set a mode of "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5 The 148500 clock on this mode * a minimum RGB bpp of 18 means that we require a data rate of 2683000/8 = 334125 to drive this mode. Since 334125 > 270000 the modeset fails: <7> [901.376487] [drm:intel_dp_compute_config [i915]] Force DSC en = 0 <7> [901.376593] [drm:intel_atomic_check [i915]] Encoder config failure: -22 Ultimately the behavior here is working as expected, our IGT tests just aren't sophisticated enough to recognize link training failures and retry with a smaller mode like a real userspace should. If any part of the source, link, or link cannot satisfy the desired mode it should be rejected. In this case the link seems to be the limiting factor (due to earlier link failures when we attempted to use more lanes or higher data rates). The immediate failures of these tests might be "fixed" by replacing the cable on the fi-icl-u4 machine since that appears to be the only machine suffering from these issues. The end-user impact of this should be nil; real userspace should already react to link training failures and downgrade to smaller modes (Manasi added this capability to the software stack a couple years ago). The kernel itself is acting as expected by rejecting modes that it knows the hardware/connections cannot support. *** Bug 111184 has been marked as a duplicate of this bug. *** *** Bug 111775 has been marked as a duplicate of this bug. *** *** Bug 111777 has been marked as a duplicate of this bug. *** *** Bug 112149 has been marked as a duplicate of this bug. *** The CI Bug Log issue associated to this bug has been updated. ### New filters associated * fi-icl-u4: igt@kms_flip@flip-vs-dpms-interruptible - fail - Failed assertion: drmModeConnectorSetProperty(fd, connector->connector_id, dpms, mode) == 0 - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_395/fi-icl-u4/igt@kms_flip@flip-vs-dpms-interruptible.html The CI Bug Log issue associated to this bug has been updated. ### New filters associated * re-tgl-u: igt@kms_flip@dpms-vs-vblank-race-interruptible - fail - Failed assertion: drmModeConnectorSetProperty(fd, connector->connector_id, dpms, mode) == 0 - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7237/re-tgl-u/igt@kms_flip@dpms-vs-vblank-race-interruptible.html -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/343. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.