[Bug 99840] New: WARNING at drivers/gpu/drm/i915/intel_display.c:15451 intel_modeset_setup_hw_state+0x897/0xc5b [i915]() and drivers/gpu/drm/i915/intel_display.c:11719 intel_plane_atomic_calc_changes+0x528/0x679 [i915]()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 16 17:14:28 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99840

            Bug ID: 99840
           Summary: WARNING at drivers/gpu/drm/i915/intel_display.c:15451
                    intel_modeset_setup_hw_state+0x897/0xc5b [i915]() and
                    drivers/gpu/drm/i915/intel_display.c:11719
                    intel_plane_atomic_calc_changes+0x528/0x679 [i915]()
           Product: DRI
           Version: unspecified
          Hardware: x86 (IA32)
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: tpereira at ipfn.ist.utl.pt
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 129676
  --> https://bugs.freedesktop.org/attachment.cgi?id=129676&action=edit
/sys/class/drm/card0/error

Decided to stress the motherboard with 2 instances of glx_gears and 1 of vlc.
The following two errors ocurred and image is messed up (see attached png)

Feb 16 16:12:21 ghost kernel: [drm] stuck on render ring
Feb 16 16:12:21 ghost kernel: [drm] GPU HANG: ecode 3:0:0x7fcff8c1, in glxgears
[5420], reason: Ring hung, action: reset
Feb 16 16:12:21 ghost kernel: [drm] GPU hangs can indicate a bug anywhere in
the entire gfx stack, including userspace.
Feb 16 16:12:21 ghost kernel: [drm] Please file a _new_ bug report on
bugs.freedesktop.org against DRI -> DRM/Intel
Feb 16 16:12:21 ghost kernel: [drm] drm/i915 developers can then reassign to
the right component if it's not a kernel issue.
Feb 16 16:12:21 ghost kernel: [drm] The gpu crash dump is required to analyze
gpu hangs, so please always attach it.
Feb 16 16:12:21 ghost kernel: [drm] GPU crash dump saved to
/sys/class/drm/card0/error
Feb 16 16:12:21 ghost kernel: [drm:intel_display_suspend [i915]] *ERROR*
Suspending crtc's failed with -5
Feb 16 16:12:21 ghost kernel: drm/i915: Resetting chip after gpu hang
Feb 16 16:12:21 ghost kernel: ------------[ cut here ]------------
Feb 16 16:12:21 ghost kernel: WARNING: CPU: 0 PID: 5000 at
drivers/gpu/drm/i915/intel_display.c:15451
intel_modeset_setup_hw_state+0x897/0xc5b [i915]()
Feb 16 16:12:21 ghost kernel: WARN_ON(put_domains)
Feb 16 16:12:21 ghost kernel: Modules linked in:
Feb 16 16:12:21 ghost kernel:  snd_usb_audio uvcvideo videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev
snd_usbmidi_lib snd_rawmidi snd_seq_device af_packet cfg80211 ipv6 hid_generic
usbhid usb_storage snd_hda_codec_realtek snd_hda_codec_generic i915 video fbcon
bitblit softcursor font tileblit i2c_algo_bit drm_kms_helper cfbfillrect
syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm
snd_hda_intel e1000e snd_hda_codec i2c_i801 snd_hwdep input_leds led_class
ata_generic snd_hda_core uhci_hcd snd_pcm ehci_pci ehci_hcd pata_jmicron
usbcore i2c_core snd_timer backlight fb fbdev ptp snd usb_common floppy
soundcore pps_core 8250 8250_base serial_core vboxpci(O) vboxnetadp(O)
vboxnetflt(O) vboxdrv(O) it87 hwmon_vid coretemp hwmon
Feb 16 16:12:21 ghost kernel: CPU: 0 PID: 5000 Comm: kworker/u8:1 Tainted: G   
       O    4.4.39-gentoo #3
Feb 16 16:12:21 ghost kernel: Hardware name: Gigabyte Technology Co., Ltd.
Q35M-S2/Q35M-S2, BIOS F5 11/18/2008
Feb 16 16:12:21 ghost kernel: Workqueue: i915-hangcheck i915_hangcheck_elapsed
[i915]
Feb 16 16:12:21 ghost kernel:  00000286 00000286 ece4bd38 c11d18bf ece4bd7c
00000000 ece4bd6c c103f5a5
Feb 16 16:12:21 ghost kernel:  f9261f5b ece4bd98 00001388 f926c370 00003c5b
f9215561 00003c5b f9215561
Feb 16 16:12:21 ghost kernel:  f1c82000 f302060c f1cf8000 ece4bd84 c103f600
00000009 ece4bd7c f9261f5b
Feb 16 16:12:21 ghost kernel: Call Trace:
Feb 16 16:12:21 ghost kernel:  [<c11d18bf>] dump_stack+0x47/0x68
Feb 16 16:12:21 ghost kernel:  [<c103f5a5>] warn_slowpath_common+0x81/0xae
Feb 16 16:12:21 ghost kernel:  [<f9215561>] ?
intel_modeset_setup_hw_state+0x897/0xc5b [i915]
Feb 16 16:12:21 ghost kernel:  [<f9215561>] ?
intel_modeset_setup_hw_state+0x897/0xc5b [i915]
Feb 16 16:12:21 ghost kernel:  [<c103f600>] warn_slowpath_fmt+0x2e/0x30
Feb 16 16:12:21 ghost kernel:  [<f9215561>]
intel_modeset_setup_hw_state+0x897/0xc5b [i915]
Feb 16 16:12:21 ghost kernel:  [<f91f03a8>] ? gen2_write64+0x36/0x36 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9218304>] intel_display_resume+0xe3/0x127
[i915]
Feb 16 16:12:21 ghost kernel:  [<f9218443>] intel_finish_reset+0xfb/0x119
[i915]
Feb 16 16:12:21 ghost kernel:  [<f91ba9e0>] i915_handle_error+0x125/0x6b3
[i915]
Feb 16 16:12:21 ghost kernel:  [<c107a2d4>] ? vprintk_emit+0x20c/0x47b
Feb 16 16:12:21 ghost kernel:  [<c107a695>] ? vprintk_default+0x32/0x34
Feb 16 16:12:21 ghost kernel:  [<f91bb1aa>] i915_hangcheck_elapsed+0x200/0x3a9
[i915]
Feb 16 16:12:21 ghost kernel:  [<c10503f5>] process_one_work+0xee/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c10505db>] worker_thread+0x2c/0x3db
Feb 16 16:12:21 ghost kernel:  [<c10505af>] ? process_one_work+0x2a8/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c1054a02>] kthread+0x96/0xa9
Feb 16 16:12:21 ghost kernel:  [<c13963c9>] ret_from_kernel_thread+0x21/0x38
Feb 16 16:12:21 ghost kernel:  [<c105496c>] ?
kthread_create_on_node+0x102/0x102
Feb 16 16:12:21 ghost kernel: ---[ end trace 6e2b8127ab757956 ]---
Feb 16 16:12:21 ghost kernel: ------------[ cut here ]------------
Feb 16 16:12:21 ghost kernel: ------------[ cut here ]------------
Feb 16 16:12:21 ghost kernel: WARNING: CPU: 0 PID: 5000 at
drivers/gpu/drm/i915/intel_display.c:11719
intel_plane_atomic_calc_changes+0x528/0x679 [i915]()
Feb 16 16:12:21 ghost kernel: WARN_ON(was_visible)
Feb 16 16:12:21 ghost kernel: Modules linked in:
Feb 16 16:12:21 ghost kernel:  snd_usb_audio uvcvideo videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev
snd_usbmidi_lib snd_rawmidi snd_seq_device af_packet cfg80211 ipv6 hid_generic
usbhid usb_storage snd_hda_codec_realtek snd_hda_codec_generic i915 video fbcon
bitblit softcursor font tileblit i2c_algo_bit drm_kms_helper cfbfillrect
syscopyarea cfbimgblt sysfillrect sysimgblt fb_sys_fops cfbcopyarea drm
snd_hda_intel e1000e snd_hda_codec i2c_i801 snd_hwdep input_leds led_class
ata_generic snd_hda_core uhci_hcd snd_pcm ehci_pci ehci_hcd pata_jmicron
usbcore i2c_core snd_timer backlight fb fbdev ptp snd usb_common floppy
soundcore pps_core 8250 8250_base serial_core vboxpci(O) vboxnetadp(O)
vboxnetflt(O) vboxdrv(O) it87 hwmon_vid coretemp hwmon
Feb 16 16:12:21 ghost kernel: CPU: 0 PID: 5000 Comm: kworker/u8:1 Tainted: G   
    W  O    4.4.39-gentoo #3
Feb 16 16:12:21 ghost kernel: Hardware name: Gigabyte Technology Co., Ltd.
Q35M-S2/Q35M-S2, BIOS F5 11/18/2008
Feb 16 16:12:21 ghost kernel: Workqueue: i915-hangcheck i915_hangcheck_elapsed
[i915]
Feb 16 16:12:21 ghost kernel:  00000286 00000286 ece4bbf4 c11d18bf ece4bc38
00000000 ece4bc28 c103f5a5
Feb 16 16:12:21 ghost kernel:  f9261f5b ece4bc54 00001388 f926c370 00002dc7
f9216601 00002dc7 f9216601
Feb 16 16:12:21 ghost kernel:  f1c82000 ece33400 eccefe40 ece4bc40 c103f600
00000009 ece4bc38 f9261f5b
Feb 16 16:12:21 ghost kernel: Call Trace:
Feb 16 16:12:21 ghost kernel:  [<c11d18bf>] dump_stack+0x47/0x68
Feb 16 16:12:21 ghost kernel:  [<c103f5a5>] warn_slowpath_common+0x81/0xae
Feb 16 16:12:21 ghost kernel:  [<f9216601>] ?
intel_plane_atomic_calc_changes+0x528/0x679 [i915]
Feb 16 16:12:21 ghost kernel:  [<f9216601>] ?
intel_plane_atomic_calc_changes+0x528/0x679 [i915]
Feb 16 16:12:21 ghost kernel:  [<c103f600>] warn_slowpath_fmt+0x2e/0x30
Feb 16 16:12:21 ghost kernel:  [<f9216601>]
intel_plane_atomic_calc_changes+0x528/0x679 [i915]
Feb 16 16:12:21 ghost kernel:  [<f900fc8d>] ?
drm_plane_helper_check_update+0xb8/0x15b [drm_kms_helper]
Feb 16 16:12:21 ghost kernel:  [<f92010d6>] ?
intel_check_cursor_plane+0x70/0x274 [i915]
Feb 16 16:12:21 ghost kernel:  [<f91f8bf2>] intel_plane_atomic_check+0xb0/0x1a8
[i915]
Feb 16 16:12:21 ghost kernel:  [<f9016fbb>]
drm_atomic_helper_check_planes+0xa9/0x1b0 [drm_kms_helper]
Feb 16 16:12:21 ghost kernel:  [<f9210a58>] intel_atomic_check+0x2d2/0xffe
[i915]
Feb 16 16:12:21 ghost kernel:  [<c10b8211>] ? printk+0x12/0x14
Feb 16 16:12:21 ghost kernel:  [<c1394654>] ? mutex_lock+0xb/0x23
Feb 16 16:12:21 ghost kernel:  [<f8fbc1a1>] drm_atomic_check_only+0x283/0x641
[drm]
Feb 16 16:12:21 ghost kernel:  [<f91f03c1>] ? gen2_write32+0x19/0x23 [i915]
Feb 16 16:12:21 ghost kernel:  [<f91f032a>] ? gen2_read32+0x16/0x1f [i915]
Feb 16 16:12:21 ghost kernel:  [<f8fbc570>] drm_atomic_commit+0x11/0x4e [drm]
Feb 16 16:12:21 ghost kernel:  [<f9218312>] intel_display_resume+0xf1/0x127
[i915]
Feb 16 16:12:21 ghost kernel:  [<f9218443>] intel_finish_reset+0xfb/0x119
[i915]
Feb 16 16:12:21 ghost kernel:  [<f91ba9e0>] i915_handle_error+0x125/0x6b3
[i915]
Feb 16 16:12:21 ghost kernel:  [<c107a2d4>] ? vprintk_emit+0x20c/0x47b
Feb 16 16:12:21 ghost kernel:  [<c107a695>] ? vprintk_default+0x32/0x34
Feb 16 16:12:21 ghost kernel:  [<f91bb1aa>] i915_hangcheck_elapsed+0x200/0x3a9
[i915]
Feb 16 16:12:21 ghost kernel:  [<c10503f5>] process_one_work+0xee/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c10505db>] worker_thread+0x2c/0x3db
Feb 16 16:12:21 ghost kernel:  [<c10505af>] ? process_one_work+0x2a8/0x2a8
Feb 16 16:12:21 ghost kernel:  [<c1054a02>] kthread+0x96/0xa9
Feb 16 16:12:21 ghost kernel:  [<c13963c9>] ret_from_kernel_thread+0x21/0x38
Feb 16 16:12:21 ghost kernel:  [<c105496c>] ?
kthread_create_on_node+0x102/0x102
Feb 16 16:12:21 ghost kernel: ---[ end trace 6e2b8127ab757957 ]---

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170216/57bc2161/attachment-0001.html>


More information about the intel-gfx-bugs mailing list