"vblank wait timed out on crtc" during boot-up
During boot-up / first modeset waiting for vblank times out occasionally. Looks like this happens always on MTL platforms at least and always on pipe A / eDP while disabling a plane from intel_crtc_initial_plane_config()->intel_plane_disable_noatomic():
<7> [37.467350] i915 0000:00:02.0: [drm:skl_get_initial_plane_config [i915]] pipe A/plane 1A with fb: size=2880x1800@32, offset=fc000000, pitch 11520, size 0x13c6800
<7> [37.467447] i915 0000:00:02.0: [drm:intel_plane_disable_noatomic [i915]] Disabling [PLANE:31:plane 1A] on [CRTC:80:pipe A]
<4> [37.574245] ------------[ cut here ]------------
<4> [37.574253] i915 0000:00:02.0: vblank wait timed out on crtc 0
<4> [37.574282] WARNING: CPU: 3 PID: 1056 at drivers/gpu/drm/drm_vblank.c:1310 drm_wait_one_vblank+0x1e7/0x200
<4> [37.574295] Modules linked in: i915(+) i2c_algo_bit ttm drm_display_helper prime_numbers drm_buddy fuse r8153_ecm cdc_ether usbnet x86_pkg_temp_thermal coretemp kvm_intel kvm e1000e mei_gsc_proxy irqbypass crct10dif_pclmul r8152 ptp crc32_pclmul wmi_bmof mii ghash_clmulni_intel video pps_core mei_me i2c_i801 i2c_smbus mei intel_lpss_pci wmi
<4> [37.574371] CPU: 3 PID: 1056 Comm: i915_module_loa Tainted: G U 6.6.0-rc2-Patchwork_122589v10-g61b71c3f061a+ #1
<4> [37.574377] Hardware name: Intel Corporation Meteor Lake Client Platform/MTL-P DDR5 SODIMM SBS RVP, BIOS MTLPFWI1.R00.3323.D89.2309110529 09/11/2023
<4> [37.574381] RIP: 0010:drm_wait_one_vblank+0x1e7/0x200
<4> [37.574389] Code: fe ff ff 48 8b 7d 08 4c 8b 6f 50 4d 85 ed 74 26 e8 2e 16 02 00 44 89 e1 4c 89 ea 48 c7 c7 40 9b 49 82 48 89 c6 e8 d9 52 86 ff <0f> 0b e9 8e fe ff ff 4c 8b 2f eb 95 4c 8b 2f eb d5 e8 53 50 45 00
<4> [37.574394] RSP: 0018:ffffc900042c7908 EFLAGS: 00010282
<4> [37.574401] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
<4> [37.574404] RDX: 0000000000000002 RSI: ffffffff823ed018 RDI: 00000000ffffffff
<4> [37.574408] RBP: ffff8881231b0000 R08: 0000000000000000 R09: ffffc900042c77a0
<4> [37.574412] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
<4> [37.574415] R13: ffff888102701d10 R14: ffff8881120d9030 R15: ffff8881027e9000
<4> [37.574418] FS: 00007f1a10576c40(0000) GS:ffff88846eb80000(0000) knlGS:0000000000000000
<4> [37.574423] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [37.574426] CR2: 00007fb147b383b8 CR3: 000000011082e002 CR4: 0000000000f70ee0
<4> [37.574430] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4> [37.574434] DR3: 0000000000000000 DR6: 00000000ffff07f0 DR7: 0000000000000400
<4> [37.574437] PKRU: 55555554
<4> [37.574440] Call Trace:
<4> [37.574444] <TASK>
<4> [37.574448] ? __warn+0x7f/0x170
<4> [37.574457] ? drm_wait_one_vblank+0x1e7/0x200
<4> [37.574465] ? report_bug+0x1f8/0x200
<4> [37.574476] ? handle_bug+0x3c/0x70
<4> [37.574484] ? exc_invalid_op+0x18/0x70
<4> [37.574491] ? asm_exc_invalid_op+0x1a/0x20
<4> [37.574504] ? drm_wait_one_vblank+0x1e7/0x200
<4> [37.574512] ? drm_wait_one_vblank+0x1e7/0x200
<4> [37.574518] ? __pfx_autoremove_wake_function+0x10/0x10
<4> [37.574529] intel_crtc_initial_plane_config+0x233/0x310 [i915]
<4> [37.574886] intel_display_driver_probe_nogem+0x196/0x210 [i915]
<4> [37.575284] i915_driver_probe+0x889/0xd60 [i915]