[Intel-gfx] intel_crtc_wait_for_pending_flips

Kenneth Johansson ken at kenjo.org
Thu Jan 29 09:00:26 PST 2015


I have a rather infrequent hang of the graphics system but when it 
happens the only way out is to pull the power. This has happened on 
serveral kernel versions but it is infrequent enough so that I now only 
have the most resent still in the logs.

what I remember is that I always see intel_crtc_wait_for_pending_flips 
on the call stack.


here is the tracebacks that I have in the log. I had to pull the power 
since I could not switch to a VT from X and I could not get it to do a 
reboot.

Jan 29 12:43:22 brix kernel: [77018.170497] ------------[ cut here ]------------

Jan 29 12:43:22 brix kernel: [77018.170597] WARNING: CPU: 0 PID: 2067 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:3473 intel_crtc_wait_for_pending_flips+0x157/0x1c0 [i915]()

Jan 29 12:43:22 brix kernel: [77018.170601] Modules linked in: nfsv3 autofs4 xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc dm_crypt rfcomm bnep nfsd auth_rpcgss nfs_acl nfs lockd grace sunrpc binfmt_misc fscache pl2303 usbserial cdc_ether usbnet x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd btusb joydev bluetooth r8152 mei_me lpc_ich mei snd_soc_rt5640 snd_soc_rl6231 shpchp snd_soc_core snd_compress snd_pcm_dmaengine i2c_hid dw_dmac spi_pxa2xx_platform dw_dmac_core i2c_designware_platform 8250_dw snd_soc_sst_acpi i2c_designware_core mac_hid snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore parport_pc ppdev it87 hwmon_vid coretemp lp parport nls_iso8859_1 btrfs xor hid_logitech_dj raid6_pq hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper ahci r8169 drm libahci mii sdhci_acpi video sdhci

Jan 29 12:43:22 brix kernel: [77018.170737] CPU: 0 PID: 2067 Comm: Xorg Not tainted 3.18.1-031801-generic #201412170637

Jan 29 12:43:22 brix kernel: [77018.170741] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F2 12/11/2013

Jan 29 12:43:22 brix kernel: [77018.170744]  0000000000000d91 ffff8803f6fa7b38 ffffffff827a5f19 0000000000000007

Jan 29 12:43:22 brix kernel: [77018.170750]  0000000000000000 ffff8803f6fa7b78 ffffffff82074b0c 0000000000000202

Jan 29 12:43:22 brix kernel: [77018.170756]  ffff88040829b1a8 ffff8804082a5000 ffff880035d78430 ffff88040829b000

Jan 29 12:43:22 brix kernel: [77018.170762] Call Trace:

Jan 29 12:43:22 brix kernel: [77018.170779]  [<ffffffff827a5f19>] dump_stack+0x46/0x58

Jan 29 12:43:22 brix kernel: [77018.170792]  [<ffffffff82074b0c>] warn_slowpath_common+0x8c/0xc0

Jan 29 12:43:22 brix kernel: [77018.170799]  [<ffffffff82074b5a>] warn_slowpath_null+0x1a/0x20

Jan 29 12:43:22 brix kernel: [77018.170851]  [<ffffffffc038f6a7>] intel_crtc_wait_for_pending_flips+0x157/0x1c0 [i915]

Jan 29 12:43:22 brix kernel: [77018.170860]  [<ffffffff820b4bd0>] ? prepare_to_wait_event+0x100/0x100

Jan 29 12:43:22 brix kernel: [77018.170908]  [<ffffffffc03934a4>] intel_crtc_disable_planes+0x34/0x150 [i915]

Jan 29 12:43:22 brix kernel: [77018.170952]  [<ffffffffc0393b0d>] haswell_crtc_disable+0x5d/0x210 [i915]

Jan 29 12:43:22 brix kernel: [77018.170996]  [<ffffffffc0390807>] intel_crtc_control+0x57/0x130 [i915]

Jan 29 12:43:22 brix kernel: [77018.171038]  [<ffffffffc0390947>] intel_crtc_update_dpms+0x67/0x80 [i915]

Jan 29 12:43:22 brix kernel: [77018.171081]  [<ffffffffc03965e1>] intel_connector_dpms+0x61/0x70 [i915]

Jan 29 12:43:22 brix kernel: [77018.171118]  [<ffffffffc0280cb4>] drm_mode_connector_set_obj_prop+0xa4/0xb0 [drm]

Jan 29 12:43:22 brix kernel: [77018.171155]  [<ffffffffc02879e4>] drm_mode_obj_set_property_ioctl+0x134/0x1d0 [drm]

Jan 29 12:43:22 brix kernel: [77018.171188]  [<ffffffffc0287ab0>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]

Jan 29 12:43:22 brix kernel: [77018.171214]  [<ffffffffc0277e46>] drm_ioctl+0x2e6/0x590 [drm]

Jan 29 12:43:22 brix kernel: [77018.171261]  [<ffffffffc04b3e7d>] ? btrfs_file_write_iter+0x29d/0x360 [btrfs]

Jan 29 12:43:22 brix kernel: [77018.171298]  [<ffffffffc0287a80>] ? drm_mode_obj_set_property_ioctl+0x1d0/0x1d0 [drm]

Jan 29 12:43:22 brix kernel: [77018.171307]  [<ffffffff822021f5>] do_vfs_ioctl+0x75/0x2c0

Jan 29 12:43:22 brix kernel: [77018.171313]  [<ffffffff821f0036>] ? vfs_write+0x196/0x1f0

Jan 29 12:43:22 brix kernel: [77018.171321]  [<ffffffff8220c815>] ? __fget_light+0x25/0x70

Jan 29 12:43:22 brix kernel: [77018.171328]  [<ffffffff822024d1>] SyS_ioctl+0x91/0xb0

Jan 29 12:43:22 brix kernel: [77018.171335]  [<ffffffff827b376d>] system_call_fastpath+0x16/0x1b

Jan 29 12:43:22 brix kernel: [77018.171339] ---[ end trace c0eb6b78177b6051 ]---

Jan 29 12:43:22 brix kernel: [77018.171342] ------------[ cut here ]------------

Jan 29 12:43:22 brix kernel: [77018.171389] WARNING: CPU: 0 PID: 2067 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:3479 intel_crtc_wait_for_pending_flips+0x1a8/0x1c0 [i915]()

Jan 29 12:43:22 brix kernel: [77018.171391] Removing stuck page flip

Jan 29 12:43:22 brix kernel: [77018.171394] Modules linked in: nfsv3 autofs4 xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc dm_crypt rfcomm bnep nfsd auth_rpcgss nfs_acl nfs lockd grace sunrpc binfmt_misc fscache pl2303 usbserial cdc_ether usbnet x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd btusb joydev bluetooth r8152 mei_me lpc_ich mei snd_soc_rt5640 snd_soc_rl6231 shpchp snd_soc_core snd_compress snd_pcm_dmaengine i2c_hid dw_dmac spi_pxa2xx_platform dw_dmac_core i2c_designware_platform 8250_dw snd_soc_sst_acpi i2c_designware_core mac_hid snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore parport_pc ppdev it87 hwmon_vid coretemp lp parport nls_iso8859_1 btrfs xor hid_logitech_dj raid6_pq hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper ahci r8169 drm libahci mii sdhci_acpi video sdhci

Jan 29 12:43:22 brix kernel: [77018.171513] CPU: 0 PID: 2067 Comm: Xorg Tainted: G        W      3.18.1-031801-generic #201412170637

Jan 29 12:43:22 brix kernel: [77018.171516] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F2 12/11/2013

Jan 29 12:43:22 brix kernel: [77018.171518]  0000000000000d97 ffff8803f6fa7ae8 ffffffff827a5f19 0000000000000007

Jan 29 12:43:22 brix kernel: [77018.171524]  ffff8803f6fa7b38 ffff8803f6fa7b28 ffffffff82074b0c ffff8803f6fa7b18

Jan 29 12:43:22 brix kernel: [77018.171530]  ffff88040829b1a8 ffff8804082a5000 0000000000000296 ffff88040829b000

Jan 29 12:43:22 brix kernel: [77018.171535] Call Trace:

Jan 29 12:43:22 brix kernel: [77018.171544]  [<ffffffff827a5f19>] dump_stack+0x46/0x58

Jan 29 12:43:22 brix kernel: [77018.171552]  [<ffffffff82074b0c>] warn_slowpath_common+0x8c/0xc0

Jan 29 12:43:22 brix kernel: [77018.171559]  [<ffffffff82074bf6>] warn_slowpath_fmt+0x46/0x50

Jan 29 12:43:22 brix kernel: [77018.171607]  [<ffffffffc038f6f8>] intel_crtc_wait_for_pending_flips+0x1a8/0x1c0 [i915]

Jan 29 12:43:22 brix kernel: [77018.171613]  [<ffffffff820b4bd0>] ? prepare_to_wait_event+0x100/0x100

Jan 29 12:43:22 brix kernel: [77018.171657]  [<ffffffffc03934a4>] intel_crtc_disable_planes+0x34/0x150 [i915]

Jan 29 12:43:22 brix kernel: [77018.171697]  [<ffffffffc0393b0d>] haswell_crtc_disable+0x5d/0x210 [i915]

Jan 29 12:43:22 brix kernel: [77018.171738]  [<ffffffffc0390807>] intel_crtc_control+0x57/0x130 [i915]

Jan 29 12:43:22 brix kernel: [77018.171777]  [<ffffffffc0390947>] intel_crtc_update_dpms+0x67/0x80 [i915]

Jan 29 12:43:22 brix kernel: [77018.171817]  [<ffffffffc03965e1>] intel_connector_dpms+0x61/0x70 [i915]

Jan 29 12:43:22 brix kernel: [77018.171850]  [<ffffffffc0280cb4>] drm_mode_connector_set_obj_prop+0xa4/0xb0 [drm]

Jan 29 12:43:22 brix kernel: [77018.171885]  [<ffffffffc02879e4>] drm_mode_obj_set_property_ioctl+0x134/0x1d0 [drm]

Jan 29 12:43:22 brix kernel: [77018.171916]  [<ffffffffc0287ab0>] drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]

Jan 29 12:43:22 brix kernel: [77018.171941]  [<ffffffffc0277e46>] drm_ioctl+0x2e6/0x590 [drm]

Jan 29 12:43:22 brix kernel: [77018.171984]  [<ffffffffc04b3e7d>] ? btrfs_file_write_iter+0x29d/0x360 [btrfs]

Jan 29 12:43:22 brix kernel: [77018.172020]  [<ffffffffc0287a80>] ? drm_mode_obj_set_property_ioctl+0x1d0/0x1d0 [drm]

Jan 29 12:43:22 brix kernel: [77018.172028]  [<ffffffff822021f5>] do_vfs_ioctl+0x75/0x2c0

Jan 29 12:43:22 brix kernel: [77018.172033]  [<ffffffff821f0036>] ? vfs_write+0x196/0x1f0

Jan 29 12:43:22 brix kernel: [77018.172040]  [<ffffffff8220c815>] ? __fget_light+0x25/0x70

Jan 29 12:43:22 brix kernel: [77018.172046]  [<ffffffff822024d1>] SyS_ioctl+0x91/0xb0

Jan 29 12:43:22 brix kernel: [77018.172052]  [<ffffffff827b376d>] system_call_fastpath+0x16/0x1b

Jan 29 12:43:22 brix kernel: [77018.172056] ---[ end trace c0eb6b78177b6052 ]---

Jan 29 12:43:22 brix kernel: [77018.225361] general protection fault: 0000 [#1] SMP

Jan 29 12:43:22 brix kernel: [77018.225407] Modules linked in: nfsv3 autofs4 xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc dm_crypt rfcomm bnep nfsd auth_rpcgss nfs_acl nfs lockd grace sunrpc binfmt_misc fscache pl2303 usbserial cdc_ether usbnet x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd btusb joydev bluetooth r8152 mei_me lpc_ich mei snd_soc_rt5640 snd_soc_rl6231 shpchp snd_soc_core snd_compress snd_pcm_dmaengine i2c_hid dw_dmac spi_pxa2xx_platform dw_dmac_core i2c_designware_platform 8250_dw snd_soc_sst_acpi i2c_designware_core mac_hid snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore parport_pc ppdev it87 hwmon_vid coretemp lp parport nls_iso8859_1 btrfs xor hid_logitech_dj raid6_pq hid_generic usbhid hid i915 i2c_algo_bit drm_kms_helper ahci r8169 drm libahci mii sdhci_acpi video sdhci

Jan 29 12:43:22 brix kernel: [77018.225437] CPU: 2 PID: 2067 Comm: Xorg Tainted: G        W      3.18.1-031801-generic #201412170637

Jan 29 12:43:22 brix kernel: [77018.225439] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F2 12/11/2013

Jan 29 12:43:22 brix kernel: [77018.225441] task: ffff8803f84e4600 ti: ffff8803f6fa4000 task.ti: ffff8803f6fa4000

Jan 29 12:43:22 brix kernel: [77018.225481] RIP: 0010:[<ffffffffc037df9f>]  [<ffffffffc037df9f>] is_crtc_connector_off+0x4f/0xa0 [i915]

Jan 29 12:43:22 brix kernel: [77018.225483] RSP: 0018:ffff8803f6fa7958  EFLAGS: 00010206

Jan 29 12:43:22 brix kernel: [77018.225484] RAX: 324a6667396f5869 RBX: ffff8804082aa578 RCX: ffff88040211bc00

Jan 29 12:43:22 brix kernel: [77018.225486] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8804082aa578

Jan 29 12:43:22 brix kernel: [77018.225487] RBP: ffff8803f6fa7968 R08: ffff880402bd79a0 R09: ffff8804082a4000

Jan 29 12:43:22 brix kernel: [77018.225488] R10: ffffffffc038753b R11: 0000000000000000 R12: ffff8803ed3c4b98

Jan 29 12:43:22 brix kernel: [77018.225490] R13: ffff8803ed3c4b99 R14: ffff88040829b000 R15: ffff8804082a4000

Jan 29 12:43:22 brix kernel: [77018.225492] FS:  00007fa2dadc09c0(0000) GS:ffff88041ea80000(0000) knlGS:0000000000000000

Jan 29 12:43:22 brix kernel: [77018.225494] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033

Jan 29 12:43:22 brix kernel: [77018.225495] CR2: 00001f0cc6233000 CR3: 00000003f5476000 CR4: 00000000001407e0

Jan 29 12:43:22 brix kernel: [77018.225496] Stack:

Jan 29 12:43:22 brix kernel: [77018.225500]  ffff88040829b000 0000000000000001 ffff8803f6fa7998 ffffffffc03869c7

Jan 29 12:43:22 brix kernel: [77018.225502]  ffff880407c9c480 ffff8804082aa578 ffff8803ed3c4b80 ffff8803ed3c4b99

Jan 29 12:43:22 brix kernel: [77018.225505]  ffff8803f6fa7a08 ffffffffc0396331 ffff8800d23c30c0 0000000000000080

Jan 29 12:43:22 brix kernel: [77018.225506] Call Trace:

Jan 29 12:43:22 brix kernel: [77018.225539]  [<ffffffffc03869c7>] intel_set_config_compute_mode_changes.isra.65+0x27/0x1a0 [i915]

Jan 29 12:43:22 brix kernel: [77018.225570]  [<ffffffffc0396331>] intel_crtc_set_config+0x121/0x370 [i915]

Jan 29 12:43:22 brix kernel: [77018.225597]  [<ffffffffc0291530>] ? drm_modeset_lock+0x40/0x100 [drm]

Jan 29 12:43:22 brix kernel: [77018.225617]  [<ffffffffc0282f90>] drm_mode_set_config_internal+0x60/0x100 [drm]

Jan 29 12:43:22 brix kernel: [77018.225631]  [<ffffffffc0318743>] restore_fbdev_mode+0xd3/0x100 [drm_kms_helper]

Jan 29 12:43:22 brix kernel: [77018.225642]  [<ffffffffc031883c>] drm_fb_helper_restore_fbdev_mode_unlocked+0x2c/0x50 [drm_kms_helper]

Jan 29 12:43:22 brix kernel: [77018.225653]  [<ffffffffc0319f21>] drm_fb_helper_set_par+0x31/0x80 [drm_kms_helper]

Jan 29 12:43:22 brix kernel: [77018.225685]  [<ffffffffc039f26a>] intel_fbdev_set_par+0x1a/0x60 [i915]

Jan 29 12:43:22 brix kernel: [77018.225691]  [<ffffffff8241a333>] fb_set_var+0x283/0x3a0

Jan 29 12:43:22 brix kernel: [77018.225696]  [<ffffffff820abcc0>] ? check_preempt_wakeup+0x110/0x210

Jan 29 12:43:22 brix kernel: [77018.225700]  [<ffffffff82411404>] fbcon_blank+0x1e4/0x2d0

Jan 29 12:43:22 brix kernel: [77018.225705]  [<ffffffff8249fcfe>] do_unblank_screen.part.21+0x9e/0x180

Jan 29 12:43:22 brix kernel: [77018.225708]  [<ffffffff8249fe28>] do_unblank_screen+0x48/0x80

Jan 29 12:43:22 brix kernel: [77018.225713]  [<ffffffff82495385>] complete_change_console+0x65/0xf0

Jan 29 12:43:22 brix kernel: [77018.225716]  [<ffffffff8249653c>] vt_ioctl+0x112c/0x11c0

Jan 29 12:43:22 brix kernel: [77018.225737]  [<ffffffffc027c1d0>] ? drm_setmaster_ioctl+0xe0/0xe0 [drm]

Jan 29 12:43:22 brix kernel: [77018.225743]  [<ffffffff82489838>] tty_ioctl+0x298/0x8f0

Jan 29 12:43:22 brix kernel: [77018.225757]  [<ffffffffc02757c5>] ? drm_read+0x85/0x1a0 [drm]

Jan 29 12:43:22 brix kernel: [77018.225762]  [<ffffffff822021f5>] do_vfs_ioctl+0x75/0x2c0

Jan 29 12:43:22 brix kernel: [77018.225766]  [<ffffffff8220c815>] ? __fget_light+0x25/0x70

Jan 29 12:43:22 brix kernel: [77018.225769]  [<ffffffff822024d1>] SyS_ioctl+0x91/0xb0

Jan 29 12:43:22 brix kernel: [77018.225773]  [<ffffffff827b376d>] system_call_fastpath+0x16/0x1b

Jan 29 12:43:22 brix kernel: [77018.225804] Code: d2 eb 14 66 0f 1f 84 00 00 00 00 00 83 c2 01 48 63 c2 48 39 c6 76 3d 49 8b 0c c0 48 8b 81 48 02 00 00 48 85 c0 74 e5 4c 8b 4f 08 <4c> 39 48 40 75 db 44 8b 89 0c 02 00 00 45 85 c9 74 cf b8 01 00

Jan 29 12:43:22 brix kernel: [77018.225831] RIP  [<ffffffffc037df9f>] is_crtc_connector_off+0x4f/0xa0 [i915]

Jan 29 12:43:22 brix kernel: [77018.225832]  RSP <ffff8803f6fa7958>

Jan 29 12:43:22 brix kernel: [77018.225836] ---[ end trace c0eb6b78177b6053 ]---

Jan 29 12:46:20 brix console-kit-daemon[12911]: GLib-CRITICAL: Source ID 52 was not found when attempting to remove it

Jan 29 12:46:49 brix console-kit-daemon[12911]: GLib-CRITICAL: Source ID 61 was not found when attempting to remove it

Jan 29 12:47:03 brix console-kit-daemon[12911]: GLib-CRITICAL: Source ID 73 was not found when attempting to remove it

Jan 29 12:47:03 brix console-kit-daemon[12911]: GLib-CRITICAL: Source ID 13 was not found when attempting to remove it

Jan 29 12:47:03 brix dbus[972]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)

Jan 29 12:47:03 brix dbus[972]: [system] Successfully activated service 'org.freedesktop.systemd1'





More information about the Intel-gfx mailing list