i915_init takes over 100 ms
Submitted by Paul Menzel
Assigned to Intel GFX Bugs mailing list
Link to original bug (#105622)
Description
For a quick boot, it is important, that modules load as fast as possible. Currently on a Dell XPS 13 9370 with , according to initcall_debug
the function i915_init
takes 130 ms.
$ lspci -s 02.0 -nn<br>
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)<br>
$ <br>
$ sudo dmesg<br>
[…]<br>
[ 2.260353] calling i915_init+0x0/0x59 [i915] @ 301<br>
[…]<br>
[ 2.320132] fb: switching to inteldrmfb from EFI VGA<br>
[ 2.320147] Console: switching to colour dummy device 80x25<br>
[ 2.320732] [drm] Replacing VGA console driver<br>
[ 2.323454] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).<br>
[ 2.323455] [drm] Driver supports precise vblank timestamp query.<br>
[ 2.330618] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem<br>
[ 2.331609] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)<br>
[ 2.338525] [drm] Initialized i915 1.6.0 20171222 for 0000:00:02.0 on minor 0<br>
[…]<br>
[ 2.392787] initcall i915_init+0x0/0x59 [i915] returned 0 after 129294 usecs<br>
[ 2.392789] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)<br>
[ 2.392925] initcall azx_driver_init+0x0/0xfd8 [snd_hda_intel] returned 0 after 123877 usecs<br>
[ 2.393932] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])<br>