Bug 81771

Summary: [drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
Product: Drivers Reporter: paragw (parag.lkml)
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED MOVED    
Severity: normal CC: intel-gfx-bugs
Priority: P1    
Hardware: x86-64   
OS: Linux   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=82612
Kernel Version: 3.16.0 Subsystem:
Regression: Yes Bisected commit-id:

Description paragw 2014-08-06 20:07:53 UTC
Seeing the below warning after upgrading to 3.16. Reproducible in mainline build from today as well except that it was accompanied with a Xorg hang.

[  906.546380] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 2395.894474] ------------[ cut here ]------------
[ 2395.894503] WARNING: CPU: 2 PID: 1542 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:3313 intel_crtc_wait_for_pending_flips+0x126/0x150 [i915]()
[ 2395.894521] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables rfcomm bnep bluetooth 6lowpan_iphc binfmt_misc snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi xfs libcrc32c nls_iso8859_1 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep crct10dif_pclmul i915 snd_pcm crc32_pclmul hp_wmi sparse_keymap snd_seq_midi ghash_clmulni_intel snd_seq_midi_event aesni_intel joydev snd_rawmidi video drm_kms_helper aes_x86_64 lrw snd_seq gf128mul snd_seq_device drm glue_helper snd_timer ablk_helper serio_raw snd cryptd i2c_algo_bit lpc_ich soundcore ppdev wmi mac_hid tpm_infineon parport_pc lp parport hid_logitech_dj usbhid hid e1000e ahci ptp psmouse libahci pps_core
[ 2395.894530] CPU: 2 PID: 1542 Comm: Xorg Not tainted 3.16.0-999-generic #201408050255
[ 2395.894530] Hardware name: Hewlett-Packard HP Z230 Tower Workstation/1905, BIOS L51 v01.22 04/29/2014
[ 2395.894531]  0000000000000cf1 ffff880827bbb928 ffffffff8278cc54 0000000000000082
[ 2395.894532]  0000000000000000 ffff880827bbb968 ffffffff8207216c 0000000000000287
[ 2395.894533]  0000000000000000 ffff88082d6ce000 ffff880829478240 ffff88082c611800
[ 2395.894533] Call Trace:
[ 2395.894539]  [<ffffffff8278cc54>] dump_stack+0x46/0x58
[ 2395.894542]  [<ffffffff8207216c>] warn_slowpath_common+0x8c/0xc0
[ 2395.894543]  [<ffffffff820721ba>] warn_slowpath_null+0x1a/0x20
[ 2395.894552]  [<ffffffffc0796376>] intel_crtc_wait_for_pending_flips+0x126/0x150 [i915]
[ 2395.894556]  [<ffffffff820bab70>] ? add_wait_queue+0x60/0x60
[ 2395.894565]  [<ffffffffc079b7f3>] intel_crtc_set_config+0x153/0x300 [i915]
[ 2395.894574]  [<ffffffffc0536040>] drm_mode_set_config_internal+0x60/0xe0 [drm]
[ 2395.894577]  [<ffffffffc05bb37b>] restore_fbdev_mode+0xbb/0xe0 [drm_kms_helper]
[ 2395.894580]  [<ffffffffc05bb46c>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2c/0x50 [drm_kms_helper]
[ 2395.894582]  [<ffffffffc05bcbb1>] drm_fb_helper_set_par+0x31/0x80 [drm_kms_helper]
[ 2395.894584]  [<ffffffff8240a6d3>] fb_set_var+0x283/0x3a0
[ 2395.894585]  [<ffffffff820b0ed1>] ? update_curr+0x141/0x200
[ 2395.894587]  [<ffffffff82401514>] fbcon_blank+0x1e4/0x2d0
[ 2395.894589]  [<ffffffff8248f6ee>] do_unblank_screen.part.21+0x9e/0x180
[ 2395.894590]  [<ffffffff8248f818>] do_unblank_screen+0x48/0x80
[ 2395.894591]  [<ffffffff82484d75>] complete_change_console+0x65/0xf0
[ 2395.894592]  [<ffffffff82485f2c>] vt_ioctl+0x112c/0x11c0
[ 2395.894597]  [<ffffffffc05303e0>] ? drm_setmaster_ioctl+0xe0/0xe0 [drm]
[ 2395.894599]  [<ffffffff824793e8>] tty_ioctl+0x298/0x8f0
[ 2395.894600]  [<ffffffff8221fd82>] ? fsnotify+0x1c2/0x280
[ 2395.894602]  [<ffffffff821f5145>] do_vfs_ioctl+0x75/0x2c0
[ 2395.894603]  [<ffffffff821e3176>] ? vfs_write+0x196/0x1f0
[ 2395.894605]  [<ffffffff821ff6f5>] ? __fget_light+0x25/0x70
[ 2395.894606]  [<ffffffff821f5421>] SyS_ioctl+0x91/0xb0
[ 2395.894607]  [<ffffffff8279a62d>] system_call_fastpath+0x1a/0x1f
[ 2395.894608] ---[ end trace 578b2e7def32611c ]---
[ 2395.894610] [drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
Comment 1 Jani Nikula 2014-08-14 12:59:19 UTC
Any chance for a git bisect between the good and bad kernels?
Comment 2 Jani Nikula 2014-09-23 14:20:38 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=82612

Assuming these are the same bug, let's track this at freedesktop.org. Thanks for the report.