Bug 111184 - [CI][DRMTIP] igt@kms_flip@flip-vs-panning-vs-hang-interruptible - fail - Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0
Summary: [CI][DRMTIP] igt@kms_flip@flip-vs-panning-vs-hang-interruptible - fail - Fai...
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-22 10:14 UTC by Lakshmi
Modified: 2019-08-12 12:16 UTC (History)
1 user (show)

See Also:
i915 platform: ICL
i915 features: display/Other


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lakshmi 2019-07-22 10:14:12 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_327/fi-icl-u4/igt@kms_flip@flip-vs-panning-vs-hang-interruptible.html

Starting subtest: flip-vs-panning-vs-hang-interruptible
(kms_flip:1124) CRITICAL: Test assertion failure function run_test_step, file ../tests/kms_flip.c:803:
(kms_flip:1124) CRITICAL: Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0
(kms_flip:1124) CRITICAL: Last errno: 22, Invalid argument
(kms_flip:1124) CRITICAL: failed to pan (1280x1024@75Hz)+10: Invalid argument
Subtest flip-vs-panning-vs-hang-interruptible failed.
Comment 1 CI Bug Log 2019-07-22 10:14:43 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ICL:  igt@kms_flip@flip-vs-panning-vs-hang-interruptible - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_327/fi-icl-u4/igt@kms_flip@flip-vs-panning-vs-hang-interruptible.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_328/fi-icl-u4/igt@kms_flip@flip-vs-panning-vs-hang-interruptible.html
Comment 2 CI Bug Log 2019-07-22 10:41:31 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ICL:  igt@kms_flip@flip-vs-panning-vs-hang-interruptible - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0 -}
{+ ICL:  igt@kms_flip@flip-vs-panning-vs-hang-interruptible|igt@kms_flip@basic-flip-vs-modeset - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0 +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_327/fi-icl-u4/igt@kms_flip@basic-flip-vs-modeset.html
Comment 3 CI Bug Log 2019-07-22 10:41:48 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ICL:  igt@kms_flip@flip-vs-panning-vs-hang-interruptible|igt@kms_flip@basic-flip-vs-modeset - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], x_ofs, 0) == 0 -}
{+ ICL:  igt@kms_flip@flip-vs-panning-vs-hang-interruptible|igt@kms_flip@basic-flip-vs-modeset - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], (x_ofs|0), 0) == 0 +}


  No new failures caught with the new filter
Comment 4 Ramalingam C 2019-07-26 15:12:49 UTC
fi-icl-u4 has two USB Type-C port connected to HDMI panel and DP panel and also eDP panel is connected.

If you see the IGT assertion for set_mode() for different tests, they are occurring when the DP4 port is tried for a modeset with different pipes.
Can see the slight sporadic in nature.
But all the time link training for DP4 is failing with dmesg like
[536.165831] [drm:intel_dp_start_link_train [i915]] [CONNECTOR:223:DP-4] Link Training failed at link rate = 540000, lane count = 1 at https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_327/fi-icl-u4/igt@kms_flip@flip-vs-panning-vs-hang-interruptible.html

So I am suspecting this could be mostly related to the panel or the DP to HDMI converter used here. Still, we need to figure out that there is no specific HW at DP4 than DP3, because of which DP4 alone failing. 
And this issue is reproduced in the latest run too with the reproducing rate of 4/8 times
Comment 5 CI Bug Log 2019-08-12 12:16:28 UTC
A CI Bug Log filter associated to this bug has been updated:

{- ICL:  igt@kms_flip@flip-vs-panning-vs-hang-interruptible|igt@kms_flip@basic-flip-vs-modeset - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], (x_ofs|0), 0) == 0 -}
{+ ICL:  igt@kms_flip@flip-vs-panning-vs-hang-*|igt@kms_flip@basic-flip-vs-modeset - fail -  Failed assertion: set_mode(o, o->fb_ids[o->current_fb_id], (x_ofs|0), 0) == 0 +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_341/fi-icl-u4/igt@kms_flip@flip-vs-panning-vs-hang.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_340/fi-icl-u4/igt@kms_flip@flip-vs-panning-vs-hang.html


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.