Bug 108383

Summary: [CI][DRMTIP] igt@kms_setmode@invalid-clone-exclusive-crtc - warn - no modes for connector 83
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: ashutosh.dixit, easwar.hariharan, intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: display/Other

Description Martin Peres 2018-10-16 08:06:41 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_128/fi-icl-u2/igt@kms_setmode@invalid-clone-exclusive-crtc.html

Starting subtest: invalid-clone-exclusive-crtc
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
(kms_setmode:926) igt_kms-WARNING: no modes for connector 83
Subtest invalid-clone-exclusive-crtc: SUCCESS (0.001s)
Comment 2 Imre Deak 2018-11-30 18:32:49 UTC
Something fishy with framebuffer takeover from BIOS

<7>[   12.661656] [drm:drm_setup_crtcs] looking for preferred mode on connector 83 0
<7>[   12.661661] [drm:drm_setup_crtcs] found mode 3840x2160
<7>[   12.661666] [drm:drm_setup_crtcs] looking for cmdline mode on connector 101
<7>[   12.661671] [drm:drm_setup_crtcs] looking for preferred mode on connector 101 0
<7>[   12.661675] [drm:drm_setup_crtcs] found mode 1920x1080
<7>[   12.661681] [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config
<7>[   12.664943] [drm:drm_setup_crtcs] desired mode 3840x2160 set on crtc 45 (0,0)
<7>[   12.664965] [drm:drm_setup_crtcs] desired mode 1920x1080 set on crtc 63 (0,0)
<7>[   12.665080] [drm:intelfb_create [i915]] re-using BIOS fb
<7>[   12.665274] [drm:intelfb_create [i915]] allocated 1920x1080 fb: 0x00000000

instead of which we should throw away it and create a new one, followed by pruning the eDP mode during fbdev probing:

<7>[   12.691895] [drm:drm_mode_debug_printmodeline] Modeline 84:"3840x2160" 60 533250 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0xa
<7>[   12.691901] [drm:drm_mode_prune_invalid] Not using 3840x2160 mode: VIRTUAL_X

which leads to no modes returned to the test. Looks like the test should do a full reprobe, but instead it gets the cached version of the previously pruned mode list.
Comment 3 Nischala Yelchuri 2019-03-22 22:55:28 UTC
I'm unable to reproduce this on latest drm-tip with Linux kernel 5.0. The failure was last seen 49 days ago and the test has been passing without any warnings since then.
Comment 4 Lakshmi 2019-03-25 07:40:25 UTC
Last seen this issue drmtip_204 (1 month, 3 weeks / 784 runs ago). The frequency of this bug occurrence is once in 23-933 runs or 1-2 months. 
We can wait for next 2 months and close this bug if this doesn't occur again.
Comment 5 Lakshmi 2019-07-31 08:14:10 UTC
The reproduction rate of this issue is once in10.8 drmtip runs. Last seen on
drmtip 204 and current run is 336.

Closing this issue as WORKSFORME.
Comment 6 CI Bug Log 2019-07-31 08:14:55 UTC
The CI Bug Log issue associated to this bug has been archived.

New failures matching the above filters will not be associated to this bug anymore.

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.