Bug 104458

Summary: [IGT][CFL only] igt@kms_* fail - igt-kms-WARNING: connector 49/eDP-1 has no modes
Product: DRI Reporter: Elizabeth <elizabethx.de.la.torre.mena>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: critical    
Priority: high CC: hector.franciscox.velazquez.suriano, intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=104459
https://bugs.freedesktop.org/show_bug.cgi?id=104460
https://bugs.freedesktop.org/show_bug.cgi?id=103369
Whiteboard: ReadyForDev
i915 platform: CFL i915 features: display/Other
Attachments:
Description Flags
Kern_log_FF_CFL
none
Test List none

Description Elizabeth 2018-01-02 16:28:07 UTC
Created attachment 136499 [details]
Kern_log_FF_CFL

We're getting a lot failed tests with the "connector 49/eDP-1 has no modes" message. It seems the same issue as bug 103369, though in this case only happens to our CFL.

We're having this ones:

igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic
igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy
igt@kms_cursor_legacy@basic-flip-after-cursor-atomic
igt@kms_cursor_legacy@basic-flip-after-cursor-legacy
igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size
igt@kms_cursor_legacy@basic-flip-before-cursor-atomic
igt@kms_cursor_legacy@basic-flip-before-cursor-legacy
igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a
igt@kms_pipe_crc_basic@hang-read-crc-pipe-b
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-a
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-b
igt@kms_pipe_crc_basic@read-crc-pipe-b-frame-sequence
igt@kms_pipe_crc_basic@read-crc-pipe-c
igt@kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c
igt@pm_backlight@basic-brightness

With the output:

IGT-Version: 1.20-g4cd4cc4 (x86_64) (Linux: 4.15.0-rc5-drm-intel-qa-ww52-commit-8cb9e98+ x86_64)
Test requirement not met in function __real_main1349, file kms_cursor_legacy.c:1369:
Test requirement: !(n >= display.n_pipes)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [kmstest_dumb_create+0x103]
  #2 [<unknown>+0x103]
Subtest basic-busy-flip-before-cursor-atomic: FAIL (0.001s)
Stderr	
(kms_cursor_legacy:733) igt-kms-WARNING: connector 49/eDP-1 has no modes
(kms_cursor_legacy:733) igt-kms-WARNING: connector 49/eDP-1 has no modes
(kms_cursor_legacy:733) igt-kms-CRITICAL: Test assertion failure function kmstest_dumb_create, file igt_kms.c:607:
(kms_cursor_legacy:733) igt-kms-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xB2)) << 0) | ((((sizeof(struct drm_mode_create_dumb)))) << ((0+8)+8)))), (&create)) == 0
(kms_cursor_legacy:733) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_cursor_legacy:733) igt-kms-CRITICAL: error: -1 != 0
Subtest basic-busy-flip-before-cursor-atomic failed.
**** DEBUG ****
(kms_cursor_legacy:733) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_cursor_legacy:733) ioctl-wrappers-DEBUG: Test requirement passed: err == 0
(kms_cursor_legacy:733) DEBUG: Test requirement passed: found
(kms_cursor_legacy:733) DEBUG: Test requirement passed: display->is_atomic
(kms_cursor_legacy:733) igt-kms-DEBUG: display: eDP-1: set_pipe(A)
(kms_cursor_legacy:733) igt-kms-WARNING: connector 49/eDP-1 has no modes
(kms_cursor_legacy:733) igt-kms-DEBUG: display: eDP-1: Selecting pipe A
(kms_cursor_legacy:733) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=0, height=0, format=0x34325258, tiling=0x0, size=0)
(kms_cursor_legacy:733) igt-kms-CRITICAL: Test assertion failure function kmstest_dumb_create, file igt_kms.c:607:
(kms_cursor_legacy:733) igt-kms-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xB2)) << 0) | ((((sizeof(struct drm_mode_create_dumb)))) << ((0+8)+8)))), (&create)) == 0
(kms_cursor_legacy:733) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_cursor_legacy:733) igt-kms-CRITICAL: error: -1 != 0
(kms_cursor_legacy:733) igt-core-INFO: Stack trace:
(kms_cursor_legacy:733) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_cursor_legacy:733) igt-core-INFO:   #1 [kmstest_dumb_create+0x103]
(kms_cursor_legacy:733) igt-core-INFO:   #2 [<unknown>+0x103]
****  END  ****
Comment 1 Elizabeth 2018-01-02 19:47:55 UTC
*** Bug 104407 has been marked as a duplicate of this bug. ***
Comment 2 Hector Velazquez 2018-01-04 21:22:23 UTC
Created attachment 136557 [details]
Test List
Comment 3 Hector Velazquez 2018-01-04 21:24:02 UTC
187 tests has failing on CFL QA 

Tests List:

see tests list attached (KmsAssert)

======================================
        output Sample
======================================
**** DEBUG ****
(kms_pipe_crc_basic:13350) DEBUG: Test requirement passed: !(pipe >= data->display.n_pipes)
(kms_pipe_crc_basic:13350) INFO: read-crc-pipe-A: Testing connector eDP-1 using pipe A
(kms_pipe_crc_basic:13350) igt-kms-DEBUG: display: eDP-1: set_pipe(A)
(kms_pipe_crc_basic:13350) igt-kms-WARNING: connector 49/eDP-1 has no modes
(kms_pipe_crc_basic:13350) igt-kms-DEBUG: display: eDP-1: Selecting pipe A
(kms_pipe_crc_basic:13350) DEBUG: Clearing the fb with color (0.00,1.00,0.00)
(kms_pipe_crc_basic:13350) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=0, height=0, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_crc_basic:13350) igt-kms-CRITICAL: Test assertion failure function kmstest_dumb_create, file igt_kms.c:607:
(kms_pipe_crc_basic:13350) igt-kms-CRITICAL: Failed assertion: igt_ioctl((fd), ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0xB2)) << 0) | ((((sizeof(struct drm_mode_create_dumb)))) << ((0+8)+8)))), (&create)) == 0
(kms_pipe_crc_basic:13350) igt-kms-CRITICAL: Last errno: 22, Invalid argument
(kms_pipe_crc_basic:13350) igt-kms-CRITICAL: error: -1 != 0
(kms_pipe_crc_basic:13350) igt-core-INFO: Stack trace:
(kms_pipe_crc_basic:13350) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_pipe_crc_basic:13350) igt-core-INFO:   #1 [kmstest_dumb_create+0x103]
(kms_pipe_crc_basic:13350) igt-core-INFO:   #2 [<unknown>+0x103]
****  END  ****

This is my configuration:

======================================
        Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.88-42-g831036a
    commit: 831036a6f62005da9fb4a75fe043bd96ce672d27

Component: cairo
    tag: 1.15.8-76-g6b05938
    commit: 6b0593827b072abd701ea47448981bcc9bdde9f3

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.20-261-gd86d53b
    commit: d86d53b072b50172309abf21ecb521bd70c5fc73

Component: piglit
    tag: piglit-v1
    commit: 75ba8aea0e6eff0bc30821df9640ee4053dd98b6

======================================
	     Software
======================================
IGT-Version: 1.20-gd86d53b (x86_64) (Linux: 4.15.0-rc5-drm-tip-config-intel-turbo-ww1-commit-16432d3+ x86_64)
Comment 4 Elizabeth 2018-01-30 15:22:55 UTC
Resolving for now since there's no new sights for a while now.

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.