Bug 99581 - intel_display.c intel_mmio_flip_work_func
Summary: intel_display.c intel_mmio_flip_work_func
Status: RESOLVED OBSOLETE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: intel-gfx-bugs@lists.freedesktop.org
URL: https://bugs.archlinux.org/task/45247
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-07 19:50 UTC by fademind
Modified: 2015-10-07 11:11 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.0.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg file (77.33 KB, application/octet-stream)
2015-06-07 19:50 UTC, fademind
Details

Description fademind 2015-06-07 19:50:26 UTC
Created attachment 179091 [details]
dmesg file

Linux arch 4.0.5-1-uksm-ck #1 SMP PREEMPT Sat Jun 6 18:18:25 CEST 2015 x86_64 GNU/Linux

inxi -G
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller
Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1366x768@60.01hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile
GLX Version: 3.0 Mesa 10.5.7


[13419.609879] [drm] stuck on render ring
[13419.610453] [drm] GPU HANG: ecode 7:0:0x85fffff8, in kwin_x11 [1081], reason: Ring hung, action: reset
[13419.610454] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[13419.610455] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[13419.610456] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[13419.610457] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[13419.610457] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[13419.610499] ------------[ cut here ]------------
[13419.610531] WARNING: CPU: 2 PID: 19133 at drivers/gpu/drm/i915/intel_display.c:9603 intel_mmio_flip_work_func+0x30a/0x340 [i915]()
[13419.610532] WARN_ON(__i915_wait_request(mmio_flip->req, crtc->reset_counter, false, NULL, NULL) != 0) 
[13419.610533] Modules linked in:
[13419.610534] uas usb_storage fuse rfcomm ecb joydev uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media mousedev ath3k hid_generic btusb usbhid hid bnep bluetooth zram bbswitch(O) nvram arc4 asus_nb_wmi ath9k intel_rapl iosf_mbi snd_hda_codec_hdmi asus_wmi sparse_keymap x86_pkg_temp_thermal intel_powerclamp ath9k_common iTCO_wdt kvm_intel mxm_wmi ath9k_hw snd_hda_codec_realtek iTCO_vendor_support snd_hda_codec_generic kvm ath led_class mac80211 snd_hda_intel crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_controller ghash_clmulni_intel aesni_intel snd_hda_codec aes_x86_64 lrw gf128mul glue_helper snd_hwdep cfg80211 rtsx_pci_ms ablk_helper snd_pcm cryptd memstick psmouse serio_raw r8169 pcspkr rfkill snd_timer mii snd mei_me i2c_i801 lpc_ich mei soundcore shpchp 
[13419.610558] thermal wmi battery ip6t_REJECT nf_reject_ipv6 evdev ac mac_hid processor xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_multiport xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter sch_fq_codel pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) coretemp msr ip_tables x_tables ext4 crc16 mbcache jbd2 sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 ahci libahci libata xhci_pci ehci_pci xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio i915 button intel_gtt i2c_algo_bit video drm_kms_helper drm i2c_core lz4 lz4_compress
[13419.610583] CPU: 2 PID: 19133 Comm: kworker/2:0 Tainted: G O 4.0.5-1-uksm-ck #1 
[13419.610584] Hardware name: ASUSTeK COMPUTER INC. K55VM/K55VM, BIOS K55VM.211 09/11/2012 
[13419.610592] Workqueue: events intel_mmio_flip_work_func [i915]
[13419.610594] 0000000000000000 00000000438aeb86 ffff88008161bcd8 ffffffff81563d39
[13419.610596] 0000000000000000 ffff88008161bd30 ffff88008161bd18 ffffffff81073b1a
[13419.610597] ffff88008161bce8 ffff8802257a48b0 ffff88022ee93580 ffff8802257a4000
[13419.610599] Call Trace:
[13419.610604] [<ffffffff81563d39>] dump_stack+0x4c/0x6e
[13419.610607] [<ffffffff81073b1a>] warn_slowpath_common+0x8a/0xc0
[13419.610609] [<ffffffff81073ba5>] warn_slowpath_fmt+0x55/0x70
[13419.610620] [<ffffffffa01368ea>] intel_mmio_flip_work_func+0x30a/0x340 [i915]
[13419.610622] [<ffffffff815655be>] ? __schedule+0x6ee/0x10e0
[13419.610625] [<ffffffff8108c62b>] process_one_work+0x14b/0x470
[13419.610627] [<ffffffff8108cd78>] worker_thread+0x48/0x4b0
[13419.610629] [<ffffffff8108cd30>] ? init_pwq.part.7+0x10/0x10
[13419.610631] [<ffffffff8108cd30>] ? init_pwq.part.7+0x10/0x10
[13419.610634] [<ffffffff81091f98>] kthread+0xd8/0xf0
[13419.610635] [<ffffffff81565fcc>] ? schedule+0x1c/0x30
[13419.610637] [<ffffffff81091ec0>] ? kthread_worker_fn+0x170/0x170
[13419.610640] [<ffffffff81569ad8>] ret_from_fork+0x58/0x90
[13419.610642] [<ffffffff81091ec0>] ? kthread_worker_fn+0x170/0x170
[13419.610643] ---[ end trace 85c77ffa4f25ee75 ]---
[13419.611855] drm/i915: Resetting chip after gpu hang

Reference: 
https://bugs.archlinux.org/task/45247
https://bugzilla.redhat.com/show_bug.cgi?id=1220018
Comment 1 AnAkkk 2015-07-08 21:53:03 UTC
Just had exactly the same issue. ArchLinux as well.

juil. 08 22:45:57 laptop kernel: [drm] stuck on render ring
juil. 08 22:45:57 laptop kernel: [drm] GPU HANG: ecode 7:0:0x00200000, in Xorg [602], reason: Ring hung, action: reset
juil. 08 22:45:57 laptop kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
juil. 08 22:45:57 laptop kernel: [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
juil. 08 22:45:57 laptop kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
juil. 08 22:45:57 laptop kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
juil. 08 22:45:57 laptop kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error
juil. 08 22:45:57 laptop kernel: ------------[ cut here ]------------
juil. 08 22:45:57 laptop kernel: WARNING: CPU: 1 PID: 257 at drivers/gpu/drm/i915/intel_display.c:10007 intel_mmio_flip_work_func+0x30a/0x340 [i915]()
juil. 08 22:45:57 laptop kernel: WARN_ON(__i915_wait_request(mmio_flip->req, crtc->reset_counter, false, NULL, NULL) != 0)
juil. 08 22:45:57 laptop kernel: Modules linked in:
juil. 08 22:45:57 laptop kernel:  fuse tun xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_security ip6table
juil. 08 22:45:57 laptop kernel:  snd_hda_codec_realtek v4l2_common snd_hda_codec_generic kvm videodev mac80211 media i915 crct10dif_pclmul snd_hda_intel crc32_pclmul joydev snd_hda_controller crc32c_intel ghash_clmulni_intel
juil. 08 22:45:57 laptop kernel:  xhci_hcd ehci_hcd libphy rtsx_pci usbcore usb_common i8042 serio
juil. 08 22:45:57 laptop kernel: CPU: 1 PID: 257 Comm: kworker/1:2 Tainted: G     U     O    4.1.1-1-bfq #1
juil. 08 22:45:57 laptop kernel: Hardware name: Acer Aspire V3-772G/VA70_HW, BIOS V1.15 03/07/2014
juil. 08 22:45:57 laptop kernel: Workqueue: events intel_mmio_flip_work_func [i915]
juil. 08 22:45:57 laptop kernel:  0000000000000000 000000008bde974a ffff88025377bcd8 ffffffff81576cd8
juil. 08 22:45:57 laptop kernel:  0000000000000000 ffff88025377bd30 ffff88025377bd18 ffffffff810766ca
juil. 08 22:45:57 laptop kernel:  ffff88025377bce8 ffff880255ab68b8 ffff88025f255a40 ffff880255ab6000
juil. 08 22:45:57 laptop kernel: Call Trace:
juil. 08 22:45:57 laptop kernel:  [<ffffffff81576cd8>] dump_stack+0x4c/0x6e
juil. 08 22:45:57 laptop kernel:  [<ffffffff810766ca>] warn_slowpath_common+0x8a/0xc0
juil. 08 22:45:57 laptop kernel:  [<ffffffff81076755>] warn_slowpath_fmt+0x55/0x70
juil. 08 22:45:57 laptop kernel:  [<ffffffffa069b5aa>] intel_mmio_flip_work_func+0x30a/0x340 [i915]
juil. 08 22:45:57 laptop kernel:  [<ffffffff8109c17d>] ? finish_task_switch+0x5d/0x100
juil. 08 22:45:57 laptop kernel:  [<ffffffff8108ef9e>] process_one_work+0x14e/0x470
juil. 08 22:45:57 laptop kernel:  [<ffffffff8108f308>] worker_thread+0x48/0x4c0
juil. 08 22:45:57 laptop kernel:  [<ffffffff8108f2c0>] ? process_one_work+0x470/0x470
juil. 08 22:45:57 laptop kernel:  [<ffffffff8108f2c0>] ? process_one_work+0x470/0x470
juil. 08 22:45:57 laptop kernel:  [<ffffffff810949c8>] kthread+0xd8/0xf0
juil. 08 22:45:57 laptop kernel:  [<ffffffff810948f0>] ? kthread_worker_fn+0x170/0x170
juil. 08 22:45:57 laptop kernel:  [<ffffffff8157c962>] ret_from_fork+0x42/0x70
juil. 08 22:45:57 laptop kernel:  [<ffffffff810948f0>] ? kthread_worker_fn+0x170/0x170
juil. 08 22:45:57 laptop kernel: ---[ end trace f6faebb17a42cc81 ]---
juil. 08 22:45:57 laptop kernel: drm/i915: Resetting chip after gpu hang
juil. 08 22:46:03 laptop kernel: [drm] stuck on render ring
juil. 08 22:46:03 laptop kernel: [drm] GPU HANG: ecode 7:0:0x00200001, in kwin_x11 [1326], reason: Ring hung, action: reset
juil. 08 22:46:03 laptop kernel: drm/i915: Resetting chip after gpu hang
Comment 2 Jani Nikula 2015-10-07 11:11:40 UTC
We seem to have neglected this bug. Apologies.

If the problem persists with latest kernels, please file a bug at the freedesktop.org bugzilla [1], referencing this bug. Thank you.

[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel

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