Bug 120221 - Error in kernel module when working with an external monitor (HDMI)
Summary: Error in kernel module when working with an external monitor (HDMI)
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: Intel Linux
: P1 high
Assignee: drivers_video-other
URL: https://bugs.freedesktop.org/show_bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-14 08:29 UTC by Andrew Filippov
Modified: 2016-06-16 07:55 UTC (History)
0 users

See Also:
Kernel Version: 4.6.2-1-ARCH
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Andrew Filippov 2016-06-14 08:29:42 UTC
When the notebook (HP HP ProBook 430 G3, with Intel® Core™ i5-6200U / Intel HD Graphics 520) starting  with an external monitor, in kernel module 
error occurs: 


[    6.668591] ------------[ cut here ]------------
[    6.668679] WARNING: CPU: 0 PID: 63 at drivers/gpu/drm/i915/intel_pm.c:3586 skl_update_other_pipe_wm+0x177/0x180 [i915]
[    6.668682] WARN_ON(!wm_changed)
[    6.668741] Modules linked in: snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_soc_core snd_compress snd_pcm_dmaengine ac97_bus hp_wmi sparse_keymap arc4 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul iwlmvm glue_helper ablk_helper cryptd mac80211 snd_hda_intel pcspkr snd_hda_codec psmouse snd_hda_core serio_raw snd_hwdep snd_pcm iwlwifi r8169 snd_timer snd soundcore i2c_i801 mii rtsx_pci_ms cfg80211 memstick i915 shpchp btusb btrtl btbcm btintel bluetooth uvcvideo drm_kms_helper joydev videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 mousedev videobuf2_core drm evdev videodev input_leds mac_hid rfkill intel_gtt media
[    6.668781]  syscopyarea sysfillrect sysimgblt fb_sys_fops mei_me i2c_algo_bit mei intel_pch_thermal tpm_infineon thermal wmi battery hp_accel button led_class video lis3lv02d input_polldev fjes tpm_tis hp_wireless tpm ac acpi_pad processor sch_fq_codel ip_tables x_tables ext4 crc16 jbd2 mbcache sd_mod hid_generic usbhid hid rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci xhci_pci libata xhci_hcd rtsx_pci scsi_mod usbcore usb_common i8042 serio
[    6.668786] CPU: 0 PID: 63 Comm: kworker/u16:1 Not tainted 4.6.2-1-ARCH #1
[    6.668788] Hardware name: HP HP ProBook 430 G3/80FF, BIOS N78 Ver. 01.08 02/23/2016
[    6.668795] Workqueue: events_unbound async_run_entry_fn
[    6.668801]  0000000000000286 00000000f0df396d ffff88014a92b668 ffffffff812e5492
[    6.668805]  ffff88014a92b6b8 0000000000000000 ffff88014a92b6a8 ffffffff8107a6bb
[    6.668809]  00000e0200000063 ffff880085eb2000 ffff88014a92b734 ffff880085f29da4
[    6.668810] Call Trace:
[    6.668819]  [<ffffffff812e5492>] dump_stack+0x63/0x81
[    6.668824]  [<ffffffff8107a6bb>] __warn+0xcb/0xf0
[    6.668827]  [<ffffffff8107a73f>] warn_slowpath_fmt+0x5f/0x80
[    6.668897]  [<ffffffffa05b7707>] skl_update_other_pipe_wm+0x177/0x180 [i915]
[    6.668958]  [<ffffffffa05b7894>] skl_update_wm+0x184/0x620 [i915]
[    6.669050]  [<ffffffffa0646cbf>] ? intel_ddi_enable_transcoder_func+0x17f/0x260 [i915]
[    6.669116]  [<ffffffffa05bb43e>] intel_update_watermarks+0x1e/0x30 [i915]
[    6.669206]  [<ffffffffa0629dc2>] haswell_crtc_enable+0x322/0x8b0 [i915]
[    6.669289]  [<ffffffffa0616e7e>] ? intel_finish_crtc_commit+0xe/0x10 [i915]
[    6.669300]  [<ffffffffa0447025>] ? drm_atomic_helper_commit_planes_on_crtc+0x155/0x260 [drm_kms_helper]
[    6.669376]  [<ffffffffa0625931>] intel_atomic_commit+0x5f1/0x15f0 [i915]
[    6.669391]  [<ffffffffa03d8ab2>] ? drm_atomic_check_only+0x182/0x600 [drm]
[    6.669404]  [<ffffffffa03d8f67>] drm_atomic_commit+0x37/0x60 [drm]
[    6.669412]  [<ffffffffa044ae28>] restore_fbdev_mode+0x238/0x260 [drm_kms_helper]
[    6.669420]  [<ffffffffa044d1d4>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
[    6.669427]  [<ffffffffa044d24d>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
[    6.669509]  [<ffffffffa063d09a>] intel_fbdev_set_par+0x1a/0x60 [i915]
[    6.669514]  [<ffffffff813527fc>] fbcon_init+0x56c/0x5f0
[    6.669518]  [<ffffffff813d2a0a>] visual_init+0xca/0x130
[    6.669523]  [<ffffffff813d449a>] do_bind_con_driver+0x1da/0x3c0
[    6.669528]  [<ffffffff813d49f7>] do_take_over_console+0x157/0x1c0
[    6.669532]  [<ffffffff813528dc>] do_fbcon_takeover+0x5c/0xb0
[    6.669537]  [<ffffffff81356b3d>] fbcon_event_notify+0x69d/0x7a0
[    6.669543]  [<ffffffff8109a74a>] notifier_call_chain+0x4a/0x70
[    6.669550]  [<ffffffff8109aaf7>] __blocking_notifier_call_chain+0x47/0x60
[    6.669556]  [<ffffffff8109ab26>] blocking_notifier_call_chain+0x16/0x20
[    6.669561]  [<ffffffff8135ca4b>] fb_notifier_call_chain+0x1b/0x20
[    6.669566]  [<ffffffff8135ea16>] register_framebuffer+0x216/0x360
[    6.669575]  [<ffffffffa044d4fe>] drm_fb_helper_initial_config+0x28e/0x430 [drm_kms_helper]
[    6.669646]  [<ffffffffa063dc8f>] intel_fbdev_initial_config+0x1f/0x30 [i915]
[    6.669650]  [<ffffffff8109c1b8>] async_run_entry_fn+0x48/0x150
[    6.669654]  [<ffffffff81093a05>] process_one_work+0x1e5/0x480
[    6.669658]  [<ffffffff81093ce8>] worker_thread+0x48/0x4e0
[    6.669662]  [<ffffffff81093ca0>] ? process_one_work+0x480/0x480
[    6.669665]  [<ffffffff81093ca0>] ? process_one_work+0x480/0x480
[    6.669670]  [<ffffffff81099998>] kthread+0xd8/0xf0
[    6.669677]  [<ffffffff815c7482>] ret_from_fork+0x22/0x40
[    6.669683]  [<ffffffff810998c0>] ? kthread_worker_fn+0x170/0x170
[    6.669695] ---[ end trace 20cb4d67bd1f50c9 ]---


 
If the notebook is switched on without an external monitor , the error does not occur.

Disrto: Archlinux
Kernel: Linux localhost 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux
Intel drivers: 1:2.99.917+662+gb617f80-1
Comment 1 Andrew Filippov 2016-06-14 15:01:03 UTC
Interface: HDMI1
Comment 2 Jani Nikula 2016-06-16 07:55:17 UTC
Intel graphics bugs are tracked at https://bugs.freedesktop.org/.

This one is likely a dupe of https://bugs.freedesktop.org/show_bug.cgi?id=89055

If the problem persists in drm-intel-nightly, please file a new bug at fdo.

Note You need to log in before you can comment on or make changes to this bug.