FS#49710 - [linux] 4.6.x Suspend and resume cause error in the i915 driver on Intel P530 graphics card

Attached to Project: Arch Linux
Opened by Lucjan B (lucck) - Tuesday, 14 June 2016, 21:30 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 03 October 2017, 23:49 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Suspend and resume cause error in the i915 driver on Intel P530 (GT Skylake ) graphics card.

Steps to reproduce:
1. Suspend screen with command: xset dpms force suspend
2. Wake up the screen with mouse or keyboard event
3. See dmesg log (included)

Its looks like a bug reported at: https://bugs.freedesktop.org/show_bug.cgi?id=89055
Bug seams to be resolved and fix is available as a patch.

Additional info:
* Kernel 4.6.2-1-ARCH
* config and/or log files etc.


This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 03 October 2017, 23:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  The upstream bugreport says the patch was merged into linux 4.8
Comment by Lucjan B (lucck) - Tuesday, 14 June 2016, 21:32 GMT
Dmesg log included

[ 2889.242912] ------------[ cut here ]------------
[ 2889.242942] WARNING: CPU: 0 PID: 4510 at drivers/gpu/drm/i915/intel_pm.c:3586 skl_update_other_pipe_wm+0x177/0x180 [i915]
[ 2889.242945] WARN_ON(!wm_changed)
[ 2889.243010] Modules linked in: msr rfcomm fuse bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic mousedev joydev input_leds nls_iso8859_1 nls_cp437 vfat fat eeepc_wmi asus_wmi hid_generic sparse_keymap evdev led_class mxm_wmi mac_hid btusb btrtl 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 glue_helper ablk_helper cryptd i915 psmouse serio_raw pcspkr usbhid snd_hda_intel igb snd_hda_codec drm_kms_helper ptp pps_core snd_hda_core dca drm snd_hwdep snd_pcm intel_gtt snd_timer hci_uart syscopyarea sysfillrect snd sysimgblt mei_me fb_sys_fops btbcm soundcore i2c_algo_bit mei i2c_i801 shpchp thermal fan btqca btintel battery bluetooth wmi i2c_hid video
[ 2889.243048] pinctrl_sunrisepoint acpi_als pinctrl_intel tpm_tis hid intel_lpss_acpi rfkill intel_lpss tpm kfifo_buf fjes industrialio acpi_pad button processor sch_fq_codel vboxnetflt(O) vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) nfs lockd grace sunrpc fscache loop ip_tables x_tables ext4 crc16 jbd2 mbcache sr_mod cdrom sd_mod atkbd libps2 ahci libahci xhci_pci libata xhci_hcd usbcore scsi_mod usb_common i8042 serio
[ 2889.243053] CPU: 0 PID: 4510 Comm: kworker/u16:85 Tainted: G W O 4.6.2-1-ARCH #1
[ 2889.243055] Hardware name: ASUSTeK COMPUTER INC. P10S WS/P10S WS, BIOS 0505 04/26/2016
[ 2889.243062] Workqueue: events_unbound async_run_entry_fn
[ 2889.243068] 0000000000000286 00000000c1f9faf1 ffff88045fdb38e8 ffffffff812e5492
[ 2889.243071] ffff88045fdb3938 0000000000000000 ffff88045fdb3928 ffffffff8107a6bb
[ 2889.243075] 00000e0200000063 ffff880460ead000 ffff88045fdb39b4 ffff88045b139da4
[ 2889.243076] Call Trace:
[ 2889.243084] [<ffffffff812e5492>] dump_stack+0x63/0x81
[ 2889.243088] [<ffffffff8107a6bb>] __warn+0xcb/0xf0
[ 2889.243092] [<ffffffff8107a73f>] warn_slowpath_fmt+0x5f/0x80
[ 2889.243115] [<ffffffffa0738707>] skl_update_other_pipe_wm+0x177/0x180 [i915]
[ 2889.243136] [<ffffffffa0738894>] skl_update_wm+0x184/0x620 [i915]
[ 2889.243165] [<ffffffffa07c7cbf>] ? intel_ddi_enable_transcoder_func+0x17f/0x260 [i915]
[ 2889.243185] [<ffffffffa073c43e>] intel_update_watermarks+0x1e/0x30 [i915]
[ 2889.243217] [<ffffffffa07aadc2>] haswell_crtc_enable+0x322/0x8b0 [i915]
[ 2889.243249] [<ffffffffa0797e7e>] ? intel_finish_crtc_commit+0xe/0x10 [i915]
[ 2889.243258] [<ffffffffa05fd025>] ? drm_atomic_helper_commit_planes_on_crtc+0x155/0x260 [drm_kms_helper]
[ 2889.243289] [<ffffffffa07a6931>] intel_atomic_commit+0x5f1/0x15f0 [i915]
[ 2889.243313] [<ffffffffa0744501>] ? intel_display_power_put+0x21/0x130 [i915]
[ 2889.243326] [<ffffffffa055aab2>] ? drm_atomic_check_only+0x182/0x600 [drm]
[ 2889.243337] [<ffffffffa055af67>] drm_atomic_commit+0x37/0x60 [drm]
[ 2889.243368] [<ffffffffa07b0fea>] intel_display_resume+0x11a/0x1b0 [i915]
[ 2889.243386] [<ffffffffa07271d4>] i915_drm_resume+0xd4/0x160 [i915]
[ 2889.243404] [<ffffffffa0727285>] i915_pm_resume+0x25/0x30 [i915]
[ 2889.243409] [<ffffffff8132ee14>] pci_pm_resume+0x64/0xa0
[ 2889.243413] [<ffffffff8132edb0>] ? pci_pm_thaw+0x90/0x90
[ 2889.243418] [<ffffffff8141f7bf>] dpm_run_callback+0x4f/0x170
[ 2889.243423] [<ffffffff8141fd93>] device_resume+0xd3/0x1f0
[ 2889.243427] [<ffffffff8141fecd>] async_resume+0x1d/0x50
[ 2889.243430] [<ffffffff8109c1b8>] async_run_entry_fn+0x48/0x150
[ 2889.243434] [<ffffffff81093a05>] process_one_work+0x1e5/0x480
[ 2889.243438] [<ffffffff81093ce8>] worker_thread+0x48/0x4e0
[ 2889.243441] [<ffffffff81093ca0>] ? process_one_work+0x480/0x480
[ 2889.243446] [<ffffffff81099998>] kthread+0xd8/0xf0
[ 2889.243452] [<ffffffff815c7482>] ret_from_fork+0x22/0x40
[ 2889.243457] [<ffffffff810998c0>] ? kthread_worker_fn+0x170/0x170
[ 2889.243459] ---[ end trace 9da09425be95180d ]---
[ 2889.401303] PM: resume of devices complete after 179.187 msecs
[ 2889.402116] PM: Finishing wakeup.
[ 2889.402119] Restarting tasks ... done.
Comment by mattia (nTia89) - Tuesday, 03 October 2017, 19:53 GMT
upstream is fixed.
Can you confirm it too?

Loading...