WARNING in intel_crtc_wait_for_pending_flips

Mihai Donțu mihai.dontu at gmail.com
Sat Nov 8 15:51:39 PST 2014


Hi,

A have a desktop and a laptop with Haswell and on both I'm experiencing
this issue: after a time of continuous usage (days usually) I run into
this warning:

Nov  9 01:24:38 xyz kernel: ------------[ cut here ]------------
Nov  9 01:24:38 xyz kernel: WARNING: CPU: 2 PID: 10769 at drivers/gpu/drm/i915/intel_display.c:3361 intel_crtc_wait_for_pending_flips+0x174/0x180()
Nov  9 01:24:38 xyz kernel: Modules linked in: vboxnetadp(O) vboxnetflt(O) vboxdrv(O) iwlmvm iwlwifi e1000e
Nov  9 01:24:38 xyz kernel: CPU: 2 PID: 10769 Comm: X Tainted: G        W  O   3.17.2-gentoo #2
Nov  9 01:24:38 xyz kernel: Hardware name: Dell Inc. Latitude E7440/07F3F4, BIOS A09 05/01/2014
Nov  9 01:24:38 xyz kernel:  0000000000000009 ffff880403657c38 ffffffff96ca6904 0000000000000000
Nov  9 01:24:38 xyz kernel:  ffff880403657c70 ffffffff96117dbd 0000000000000000 ffff8804083bc000
Nov  9 01:24:38 xyz kernel:  ffff880407308150 ffff880407332000 ffff880407332000 ffff880403657c80
Nov  9 01:24:38 xyz kernel: Call Trace:
Nov  9 01:24:38 xyz kernel:  [<ffffffff96ca6904>] dump_stack+0x45/0x56
Nov  9 01:24:38 xyz kernel:  [<ffffffff96117dbd>] warn_slowpath_common+0x7d/0xa0
Nov  9 01:24:38 xyz kernel:  [<ffffffff96117e9a>] warn_slowpath_null+0x1a/0x20
Nov  9 01:24:38 xyz kernel:  [<ffffffff966f4f04>] intel_crtc_wait_for_pending_flips+0x174/0x180
Nov  9 01:24:38 xyz kernel:  [<ffffffff961511b0>] ? __wake_up_sync+0x20/0x20
Nov  9 01:24:38 xyz kernel:  [<ffffffff966f4fb8>] intel_primary_plane_disable+0xa8/0xe0
Nov  9 01:24:38 xyz kernel:  [<ffffffff9668e892>] setplane_internal+0x192/0x2b0
Nov  9 01:24:38 xyz kernel:  [<ffffffff9668d089>] ? _object_find+0x69/0xa0
Nov  9 01:24:38 xyz kernel:  [<ffffffff96691ed5>] drm_mode_setplane+0x145/0x1e0
Nov  9 01:24:38 xyz kernel:  [<ffffffff966842cf>] drm_ioctl+0x1df/0x680
Nov  9 01:24:38 xyz kernel:  [<ffffffff96245991>] ? new_sync_write+0x81/0xb0
Nov  9 01:24:38 xyz kernel:  [<ffffffff962819ec>] ? fsnotify+0x27c/0x350
Nov  9 01:24:38 xyz kernel:  [<ffffffff96258188>] do_vfs_ioctl+0x2c8/0x490
Nov  9 01:24:38 xyz kernel:  [<ffffffff96248541>] ? __sb_end_write+0x31/0x60
Nov  9 01:24:38 xyz kernel:  [<ffffffff96246132>] ? vfs_write+0x1c2/0x200
Nov  9 01:24:38 xyz kernel:  [<ffffffff96258391>] SyS_ioctl+0x41/0x80
Nov  9 01:24:38 xyz kernel:  [<ffffffff96caf052>] system_call_fastpath+0x16/0x1b
Nov  9 01:24:38 xyz kernel: ---[ end trace e54582f8e99380e5 ]---
Nov  9 01:24:38 xyz kernel: [drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
Nov  9 01:24:38 xyz kernel: ------------[ cut here ]------------
Nov  9 01:24:38 xyz kernel: WARNING: CPU: 2 PID: 10769 at drivers/gpu/drm/i915/intel_display.c:1278 assert_plane.constprop.74+0x6b/0x70()
Nov  9 01:24:38 xyz kernel: plane A assertion failure (expected on, current off)
Nov  9 01:24:38 xyz kernel: Modules linked in: vboxnetadp(O) vboxnetflt(O) vboxdrv(O) iwlmvm iwlwifi e1000e
Nov  9 01:24:38 xyz kernel: CPU: 2 PID: 10769 Comm: X Tainted: G        W  O   3.17.2-gentoo #2
Nov  9 01:24:38 xyz kernel: Hardware name: Dell Inc. Latitude E7440/07F3F4, BIOS A09 05/01/2014
Nov  9 01:24:38 xyz kernel:  0000000000000009 ffff8804036577b0 ffffffff96ca6904 ffff8804036577f8
Nov  9 01:24:38 xyz kernel:  ffff8804036577e8 ffffffff96117dbd 0000000000000000 ffff8804083bc000
Nov  9 01:24:38 xyz kernel:  ffff880407332000 ffff880407300000 0000000000000000 ffff880403657848
Nov  9 01:24:38 xyz kernel: Call Trace:
Nov  9 01:24:38 xyz kernel:  [<ffffffff96ca6904>] dump_stack+0x45/0x56
Nov  9 01:24:38 xyz kernel:  [<ffffffff96117dbd>] warn_slowpath_common+0x7d/0xa0
Nov  9 01:24:38 xyz kernel:  [<ffffffff96117e2c>] warn_slowpath_fmt+0x4c/0x50
Nov  9 01:24:38 xyz kernel:  [<ffffffff966f249b>] assert_plane.constprop.74+0x6b/0x70
Nov  9 01:24:38 xyz kernel:  [<ffffffff966f5d11>] hsw_disable_ips+0x41/0x180
Nov  9 01:24:38 xyz kernel:  [<ffffffff966fd219>] intel_crtc_disable_planes+0x49/0x160
Nov  9 01:24:38 xyz kernel:  [<ffffffff966fe117>] haswell_crtc_disable+0x57/0x330
Nov  9 01:24:38 xyz kernel:  [<ffffffff966f6992>] ? __intel_set_mode+0x52/0x16d0
Nov  9 01:24:38 xyz kernel:  [<ffffffff966f6c08>] __intel_set_mode+0x2c8/0x16d0
Nov  9 01:24:38 xyz kernel:  [<ffffffff9668767e>] ? drm_err+0x5e/0x60
Nov  9 01:24:38 xyz kernel:  [<ffffffff966ff8f6>] intel_set_mode+0x16/0x30
Nov  9 01:24:38 xyz kernel:  [<ffffffff96700a54>] intel_crtc_set_config+0xaf4/0xef0
Nov  9 01:24:38 xyz kernel:  [<ffffffff9668e1e4>] drm_mode_set_config_internal+0x64/0xe0
Nov  9 01:24:38 xyz kernel:  [<ffffffff9667c273>] restore_fbdev_mode+0xb3/0xe0
Nov  9 01:24:38 xyz kernel:  [<ffffffff9667c2c3>] drm_fb_helper_restore_fbdev_mode_unlocked+0x23/0x40
Nov  9 01:24:38 xyz kernel:  [<ffffffff9667e488>] drm_fb_helper_set_par+0x28/0x70
Nov  9 01:24:38 xyz kernel:  [<ffffffff9670b6ba>] intel_fbdev_set_par+0x1a/0x60
Nov  9 01:24:38 xyz kernel:  [<ffffffff966173f4>] fb_set_var+0x1a4/0x410
Nov  9 01:24:38 xyz kernel:  [<ffffffff96146b19>] ? update_curr+0x79/0x190
Nov  9 01:24:38 xyz kernel:  [<ffffffff96611246>] fbcon_blank+0x296/0x370
Nov  9 01:24:38 xyz kernel:  [<ffffffff9613d64d>] ? ttwu_do_activate.constprop.92+0x5d/0x70
Nov  9 01:24:38 xyz kernel:  [<ffffffff965f10aa>] do_unblank_screen+0xba/0x1f0
Nov  9 01:24:38 xyz kernel:  [<ffffffff965e7179>] complete_change_console+0x59/0xe0
Nov  9 01:24:38 xyz kernel:  [<ffffffff965e8390>] vt_ioctl+0x1190/0x1420
Nov  9 01:24:38 xyz kernel:  [<ffffffff965dbd35>] tty_ioctl+0x285/0xbc0
Nov  9 01:24:38 xyz kernel:  [<ffffffff96245991>] ? new_sync_write+0x81/0xb0
Nov  9 01:24:38 xyz kernel:  [<ffffffff962819ec>] ? fsnotify+0x27c/0x350
Nov  9 01:24:38 xyz kernel:  [<ffffffff96258188>] do_vfs_ioctl+0x2c8/0x490
Nov  9 01:24:38 xyz kernel:  [<ffffffff96248541>] ? __sb_end_write+0x31/0x60
Nov  9 01:24:38 xyz kernel:  [<ffffffff96258391>] SyS_ioctl+0x41/0x80
Nov  9 01:24:38 xyz kernel:  [<ffffffff96caf052>] system_call_fastpath+0x16/0x1b
Nov  9 01:24:38 xyz kernel: ---[ end trace e54582f8e99380e6 ]---

X stop rendering but I can still move the mouse. If I press ctrl+alt+1,
after 15-20s I'm presented with the console and I can do:

  # service xdm restart

and get back to normal. The issue will reappear and it will be cured the
same way.

I've seen this before on a Sandy Bridge as well:
http://lists.freedesktop.org/archives/dri-devel/2014-August/065689.html
but setting 'drm.debug=0xe' has somehow hidden it and couldn't provide
any more information.

Desktop:
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Q87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
02:00.0 PCI bridge: Texas Instruments XIO2001 PCI Express-to-PCI Bridge
03:02.0 Network controller: Qualcomm Atheros AR9227 Wireless Network Adapter (rev 01)

Laptop:
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series HECI KT (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)

Thanks,

-- 
Mihai Donțu


More information about the dri-devel mailing list