1) When VGA cable is unplugged, I see the following (WARNING message doesn't repeat, but shows only once): But there is another message related to mode setting. [ 11.719769] ------------[ cut here ]------------ [ 11.719973] WARNING: CPU: 0 PID: 34 at ../drivers/gpu/drm/i915/intel_runtime_pm.c:1455 intel_display_power_put+0x13a/0x170 [i915]() [ 11.719980] WARN_ON(!power_domains->domain_use_count[domain]) [ 11.720061] Modules linked in: hid_generic joydev hid_penmount usbhid intel_rapl intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel sd_mod kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel jitterentropy_rng i915 drbg drm_kms_helper ansi_cprng xhci_pci iTCO_wdt iTCO_vendor_support xhci_hcd drm aesni_intel snd_hda_intel fb_sys_fops syscopyarea ahci usbcore sysfillrect libahci aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw igb pcspkr i2c_i801 lpc_ich mfd_core mei_txe ptp mei pps_core dca snd_hda_codec shpchp libata snd_hda_core snd_hwdep sysimgblt usb_common i2c_algo_bit fan thermal snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfld_platform snd_soc_rt5640 snd_soc_rl6231 8250_fintek snd_soc_core snd_compress snd_pcm i2c_hid fjes snd_timer video regmap_i2c snd soundcore i2c_designware_platform intel_smartconnect snd_soc_sst_acpi sdhci_acpi rfkill_gpio sdhci i2c_designware_core rfkill mmc_core pwm_lpss_platform 8250_dw pwm_lpss button processor sg scsi_mod autofs4 [ 11.720084] CPU: 0 PID: 34 Comm: kworker/0:1 Not tainted 4.4.27-2-default #1 [ 11.720085] Hardware name: Lex BayTrail 3I380CW A2 /Type2 - Board Product Name, BIOS 3I380CW A3 09/29/2014 [ 11.720104] Workqueue: events output_poll_execute [drm_kms_helper] [ 11.720111] 0000000000000000 ffffffff81327657 ffff88013a6dbbc8 ffffffffa0766598 [ 11.720115] ffffffff8107e821 ffff88007d81006c ffff88013a6dbc18 ffff88007d810000 [ 11.720119] ffff88007d819570 ffff88007d810000 ffffffff8107e89c ffffffffa0777ebf [ 11.720120] Call Trace: [ 11.720144] [<ffffffff81019e69>] dump_trace+0x59/0x320 [ 11.720163] [<ffffffff8101a22a>] show_stack_log_lvl+0xfa/0x180 [ 11.720175] [<ffffffff8101afd1>] show_stack+0x21/0x40 [ 11.720183] [<ffffffff81327657>] dump_stack+0x5c/0x85 [ 11.720199] [<ffffffff8107e821>] warn_slowpath_common+0x81/0xb0 [ 11.720208] [<ffffffff8107e89c>] warn_slowpath_fmt+0x4c/0x50 [ 11.720281] [<ffffffffa06b0faa>] intel_display_power_put+0x13a/0x170 [i915] [ 11.720377] [<ffffffffa07338e7>] intel_enable_dp+0x107/0x2d0 [i915] [ 11.720460] [<ffffffffa070ec7b>] valleyview_crtc_enable+0x19b/0x2e0 [i915] [ 11.720543] [<ffffffffa070c870>] intel_atomic_commit+0x490/0x6f0 [i915] [ 11.720571] [<ffffffffa0653bd1>] restore_fbdev_mode+0x221/0x250 [drm_kms_helper] [ 11.720597] [<ffffffffa0655c0e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70 [drm_kms_helper] [ 11.720620] [<ffffffffa0655c78>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper] [ 11.720642] [<ffffffffa0655b9c>] drm_fb_helper_hotplug_event+0x9c/0xe0 [drm_kms_helper] [ 11.720664] [<ffffffffa0649557>] output_poll_execute+0x77/0x1b0 [drm_kms_helper] [ 11.720680] [<ffffffff81097205>] process_one_work+0x155/0x440 [ 11.720688] [<ffffffff81097d46>] worker_thread+0x116/0x4b0 [ 11.720696] [<ffffffff8109d328>] kthread+0xc8/0xe0 [ 11.720705] [<ffffffff8160978f>] ret_from_fork+0x3f/0x70 [ 11.726340] DWARF2 unwinder stuck at ret_from_fork+0x3f/0x70 [ 11.726340] [ 11.726342] Leftover inexact backtrace: [ 11.726342] [ 11.726351] [<ffffffff8109d260>] ? kthread_park+0x50/0x50 [ 11.726395] ---[ end trace bdb7c790f07879c0 ]--- [ 11.726399] ------------[ cut here ]------------ [ 11.726482] WARNING: CPU: 0 PID: 34 at ../drivers/gpu/drm/i915/intel_display.c:1168 vlv_dpio_cmn_power_well_disable+0x2a/0xb0 [i915]() [ 11.726484] PLL state assertion failure (expected off, current on) [ 11.726604] Modules linked in: hid_generic joydev hid_penmount usbhid intel_rapl intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel sd_mod kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel jitterentropy_rng i915 drbg drm_kms_helper ansi_cprng xhci_pci iTCO_wdt iTCO_vendor_support xhci_hcd drm aesni_intel snd_hda_intel fb_sys_fops syscopyarea ahci usbcore sysfillrect libahci aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw igb pcspkr i2c_i801 lpc_ich mfd_core mei_txe ptp mei pps_core dca snd_hda_codec shpchp libata snd_hda_core snd_hwdep sysimgblt usb_common i2c_algo_bit fan thermal snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfld_platform snd_soc_rt5640 snd_soc_rl6231 8250_fintek snd_soc_core snd_compress snd_pcm i2c_hid fjes snd_timer video regmap_i2c snd soundcore i2c_designware_platform intel_smartconnect snd_soc_sst_acpi sdhci_acpi rfkill_gpio sdhci i2c_designware_core rfkill mmc_core pwm_lpss_platform 8250_dw pwm_lpss button processor sg scsi_mod autofs4 [ 11.726655] CPU: 0 PID: 34 Comm: kworker/0:1 Tainted: G W 4.4.27-2-default #1 [ 11.726659] Hardware name: Lex BayTrail 3I380CW A2 /Type2 - Board Product Name, BIOS 3I380CW A3 09/29/2014 [ 11.726703] Workqueue: events output_poll_execute [drm_kms_helper] [ 11.726716] 0000000000000000 ffffffff81327657 ffff88013a6dbba8 ffffffffa076ce18 [ 11.726726] ffffffff8107e821 0000000000000000 ffff88013a6dbbf8 ffffffffa07a6b00 [ 11.726737] ffff88007d819570 0000000008000000 ffffffff8107e89c ffffffffa076f570 [ 11.726739] Call Trace: [ 11.726782] [<ffffffff81019e69>] dump_trace+0x59/0x320 [ 11.726809] [<ffffffff8101a22a>] show_stack_log_lvl+0xfa/0x180 [ 11.726830] [<ffffffff8101afd1>] show_stack+0x21/0x40 [ 11.726851] [<ffffffff81327657>] dump_stack+0x5c/0x85 [ 11.726873] [<ffffffff8107e821>] warn_slowpath_common+0x81/0xb0 [ 11.726893] [<ffffffff8107e89c>] warn_slowpath_fmt+0x4c/0x50 [ 11.727074] [<ffffffffa06aeada>] vlv_dpio_cmn_power_well_disable+0x2a/0xb0 [i915] [ 11.727271] [<ffffffffa06b0f48>] intel_display_power_put+0xd8/0x170 [i915] [ 11.727479] [<ffffffffa07338e7>] intel_enable_dp+0x107/0x2d0 [i915] [ 11.727685] [<ffffffffa070ec7b>] valleyview_crtc_enable+0x19b/0x2e0 [i915] [ 11.727890] [<ffffffffa070c870>] intel_atomic_commit+0x490/0x6f0 [i915] [ 11.727962] [<ffffffffa0653bd1>] restore_fbdev_mode+0x221/0x250 [drm_kms_helper] [ 11.728023] [<ffffffffa0655c0e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70 [drm_kms_helper] [ 11.728081] [<ffffffffa0655c78>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper] [ 11.728136] [<ffffffffa0655b9c>] drm_fb_helper_hotplug_event+0x9c/0xe0 [drm_kms_helper] [ 11.728190] [<ffffffffa0649557>] output_poll_execute+0x77/0x1b0 [drm_kms_helper] [ 11.728226] [<ffffffff81097205>] process_one_work+0x155/0x440 [ 11.728248] [<ffffffff81097d46>] worker_thread+0x116/0x4b0 [ 11.728270] [<ffffffff8109d328>] kthread+0xc8/0xe0 [ 11.728292] [<ffffffff8160978f>] ret_from_fork+0x3f/0x70 [ 11.742321] DWARF2 unwinder stuck at ret_from_fork+0x3f/0x70 [ 11.742323] [ 11.742326] Leftover inexact backtrace: [ 11.742326] [ 11.742344] [<ffffffff8109d260>] ? kthread_park+0x50/0x50 [ 11.742400] ---[ end trace bdb7c790f07879c1 ]--- [ 11.961146] ------------[ cut here ]------------ [ 11.961250] WARNING: CPU: 0 PID: 34 at ../drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x149/0x180 [drm]() [ 11.961253] vblank wait timed out on crtc 0 [ 11.961408] Modules linked in: hid_generic joydev hid_penmount usbhid intel_rapl intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel sd_mod kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel jitterentropy_rng i915 drbg drm_kms_helper ansi_cprng xhci_pci iTCO_wdt iTCO_vendor_support xhci_hcd drm aesni_intel snd_hda_intel fb_sys_fops syscopyarea ahci usbcore sysfillrect libahci aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw igb pcspkr i2c_i801 lpc_ich mfd_core mei_txe ptp mei pps_core dca snd_hda_codec shpchp libata snd_hda_core snd_hwdep sysimgblt usb_common i2c_algo_bit fan thermal snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfld_platform snd_soc_rt5640 snd_soc_rl6231 8250_fintek snd_soc_core snd_compress snd_pcm i2c_hid fjes snd_timer video regmap_i2c snd soundcore i2c_designware_platform intel_smartconnect snd_soc_sst_acpi sdhci_acpi rfkill_gpio sdhci i2c_designware_core rfkill mmc_core pwm_lpss_platform 8250_dw pwm_lpss button processor sg scsi_mod autofs4 [ 11.961424] CPU: 0 PID: 34 Comm: kworker/0:1 Tainted: G W 4.4.27-2-default #1 [ 11.961425] Hardware name: Lex BayTrail 3I380CW A2 /Type2 - Board Product Name, BIOS 3I380CW A3 09/29/2014 [ 11.961438] Workqueue: events output_poll_execute [drm_kms_helper] [ 11.961442] 0000000000000000 ffffffff81327657 ffff88013a6dbc20 ffffffffa0576454 [ 11.961445] ffffffff8107e821 0000000000000000 ffff88013a6dbc70 0000000000000000 [ 11.961448] 0000000000000016 ffff8800b942c008 ffffffff8107e89c ffffffffa05792b8 [ 11.961449] Call Trace: [ 11.961466] [<ffffffff81019e69>] dump_trace+0x59/0x320 [ 11.961473] [<ffffffff8101a22a>] show_stack_log_lvl+0xfa/0x180 [ 11.961477] [<ffffffff8101afd1>] show_stack+0x21/0x40 [ 11.961483] [<ffffffff81327657>] dump_stack+0x5c/0x85 [ 11.961490] [<ffffffff8107e821>] warn_slowpath_common+0x81/0xb0 [ 11.961495] [<ffffffff8107e89c>] warn_slowpath_fmt+0x4c/0x50 [ 11.961518] [<ffffffffa054a4d9>] drm_wait_one_vblank+0x149/0x180 [drm] [ 11.961596] [<ffffffffa070c829>] intel_atomic_commit+0x449/0x6f0 [i915] [ 11.961618] [<ffffffffa0653bd1>] restore_fbdev_mode+0x221/0x250 [drm_kms_helper] [ 11.961634] [<ffffffffa0655c0e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70 [drm_kms_helper] [ 11.961652] [<ffffffffa0655c78>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper] [ 11.961667] [<ffffffffa0655b9c>] drm_fb_helper_hotplug_event+0x9c/0xe0 [drm_kms_helper] [ 11.961681] [<ffffffffa0649557>] output_poll_execute+0x77/0x1b0 [drm_kms_helper] [ 11.961691] [<ffffffff81097205>] process_one_work+0x155/0x440 [ 11.961696] [<ffffffff81097d46>] worker_thread+0x116/0x4b0 [ 11.961703] [<ffffffff8109d328>] kthread+0xc8/0xe0 [ 11.961711] [<ffffffff8160978f>] ret_from_fork+0x3f/0x70 [ 11.965402] DWARF2 unwinder stuck at ret_from_fork+0x3f/0x70 [ 11.965403] [ 11.965403] Leftover inexact backtrace: [ 11.965403] [ 11.965410] [<ffffffff8109d260>] ? kthread_park+0x50/0x50 [ 11.965439] ---[ end trace bdb7c790f07879c2 ]--- [ 12.019894] [drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in base.adjusted_mode.crtc_clock (expected 65000, found 120369) [ 12.019950] [drm:intel_pipe_config_compare [i915]] *ERROR* mismatch in port_clock (expected 270000, found 500000) [ 12.019951] ------------[ cut here ]------------ [ 12.020007] WARNING: CPU: 0 PID: 34 at ../drivers/gpu/drm/i915/intel_display.c:12805 intel_modeset_check_state+0x554/0x8c0 [i915]() [ 12.020007] pipe state doesn't match! [ 12.020064] Modules linked in: hid_generic joydev hid_penmount usbhid intel_rapl intel_soc_dts_iosf intel_powerclamp coretemp kvm_intel sd_mod kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel jitterentropy_rng i915 drbg drm_kms_helper ansi_cprng xhci_pci iTCO_wdt iTCO_vendor_support xhci_hcd drm aesni_intel snd_hda_intel fb_sys_fops syscopyarea ahci usbcore sysfillrect libahci aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd serio_raw igb pcspkr i2c_i801 lpc_ich mfd_core mei_txe ptp mei pps_core dca snd_hda_codec shpchp libata snd_hda_core snd_hwdep sysimgblt usb_common i2c_algo_bit fan thermal snd_intel_sst_acpi snd_intel_sst_core snd_soc_sst_mfld_platform snd_soc_rt5640 snd_soc_rl6231 8250_fintek snd_soc_core snd_compress snd_pcm i2c_hid fjes snd_timer video regmap_i2c snd soundcore i2c_designware_platform intel_smartconnect snd_soc_sst_acpi sdhci_acpi rfkill_gpio sdhci i2c_designware_core rfkill mmc_core pwm_lpss_platform 8250_dw pwm_lpss button processor sg scsi_mod autofs4 [ 12.020082] CPU: 0 PID: 34 Comm: kworker/0:1 Tainted: G W 4.4.27-2-default #1 [ 12.020083] Hardware name: Lex BayTrail 3I380CW A2 /Type2 - Board Product Name, BIOS 3I380CW A3 09/29/2014 [ 12.020097] Workqueue: events output_poll_execute [drm_kms_helper] [ 12.020102] 0000000000000000 ffffffff81327657 ffff88013a6dbc28 ffffffffa076ce18 [ 12.020105] ffffffff8107e821 ffff88013a701000 ffff88013a6dbc78 ffff88007d962378 [ 12.020108] ffff88013a67ac00 0000000000000000 ffffffff8107e89c ffffffffa077c58b [ 12.020108] Call Trace: [ 12.020127] [<ffffffff81019e69>] dump_trace+0x59/0x320 [ 12.020135] [<ffffffff8101a22a>] show_stack_log_lvl+0xfa/0x180 [ 12.020140] [<ffffffff8101afd1>] show_stack+0x21/0x40 [ 12.020146] [<ffffffff81327657>] dump_stack+0x5c/0x85 [ 12.020154] [<ffffffff8107e821>] warn_slowpath_common+0x81/0xb0 [ 12.020159] [<ffffffff8107e89c>] warn_slowpath_fmt+0x4c/0x50 [ 12.020216] [<ffffffffa07013f4>] intel_modeset_check_state+0x554/0x8c0 [i915] [ 12.020284] [<ffffffffa070ca69>] intel_atomic_commit+0x689/0x6f0 [i915] [ 12.020309] [<ffffffffa0653bd1>] restore_fbdev_mode+0x221/0x250 [drm_kms_helper] [ 12.020328] [<ffffffffa0655c0e>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2e/0x70 [drm_kms_helper] [ 12.020344] [<ffffffffa0655c78>] drm_fb_helper_set_par+0x28/0x50 [drm_kms_helper] [ 12.020359] [<ffffffffa0655b9c>] drm_fb_helper_hotplug_event+0x9c/0xe0 [drm_kms_helper] [ 12.020375] [<ffffffffa0649557>] output_poll_execute+0x77/0x1b0 [drm_kms_helper] [ 12.020388] [<ffffffff81097205>] process_one_work+0x155/0x440 [ 12.020395] [<ffffffff81097d46>] worker_thread+0x116/0x4b0 [ 12.020402] [<ffffffff8109d328>] kthread+0xc8/0xe0 [ 12.020410] [<ffffffff8160978f>] ret_from_fork+0x3f/0x70 [ 12.024450] DWARF2 unwinder stuck at ret_from_fork+0x3f/0x70 [ 12.024451] [ 12.024452] Leftover inexact backtrace: [ 12.024452] [ 12.024460] [<ffffffff8109d260>] ? kthread_park+0x50/0x50 [ 12.024485] ---[ end trace bdb7c790f07879c3 ]--- 2) Now I am trying to bisect between 4.4 and 4.8.6 to check what fixed the issue. Then I'll try to bisect commit which introduced the issue. This warning seems to be there in 4.1.x kernel. 3) I'll open separate issue for igb when I will have time to bisect commits for it.