[Bug 98804] WARN_ON(reg->pin_count) during IGT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 30 15:19:29 UTC 2017


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

Bjørn Mork <bjorn at mork.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bjorn at mork.no

--- Comment #4 from Bjørn Mork <bjorn at mork.no> ---
Still there in v4.10.0-rc6:

[10534.837409] ------------[ cut here ]------------
[10534.837476] WARNING: CPU: 1 PID: 4083 at
drivers/gpu/drm/i915/i915_gem.c:2013 i915_gem_runtime_suspend+0x122/0x130
[i915]
[10534.837481] WARN_ON(reg->pin_count)
[10534.837483] Modules linked in: rfcomm xt_multiport iptable_filter 8021q garp
mrp stp llc tun cmac bnep snd_hda_codec_hdmi snd_hda_codec_conexant
snd_hda_codec_generic intel_rapl mei_wdt x86_pkg_temp_thermal intel_powerclamp
coretemp cdc_mbim cdc_wdm uvcvideo kvm_intel videobuf2_vmalloc cdc_ncm
videobuf2_memops usbnet videobuf2_v4l2 videobuf2_core mii videodev arc4 kvm
qcserial usb_wwan usbserial nls_utf8 irqbypass nls_cp437 crct10dif_pclmul
crc32_pclmul vfat fat ghash_clmulni_intel pcbc btusb btrtl btbcm btintel
bluetooth efi_pstore i915 intel_gtt iwlmvm mac80211 aesni_intel aes_x86_64
snd_hda_intel crypto_simd glue_helper cryptd evdev snd_hda_codec snd_hwdep
snd_hda_core efivars serio_raw i2c_algo_bit drm_kms_helper syscopyarea snd_pcm
iwlwifi sysfillrect iTCO_wdt sysimgblt fb_sys_fops snd_timer
[10534.837592]  iTCO_vendor_support drm cfg80211 intel_pch_thermal mei_me
thinkpad_acpi mei wmi nvram snd soundcore rfkill ac battery tpm_crb video
button tpm_tis tpm_tis_core tpm sunrpc efivarfs ip_tables x_tables autofs4 ext4
crc16 jbd2 fscrypto mbcache crc32c_generic intel_ishtp_hid hid rtsx_pci_sdmmc
mmc_core crc32c_intel psmouse e1000e ptp i2c_i801 pps_core xhci_pci nvme
nvme_core xhci_hcd rtsx_pci mfd_core usbcore intel_ish_ipc intel_ishtp thermal
[10534.837664] CPU: 1 PID: 4083 Comm: kworker/1:0 Tainted: G        W      
4.10.0-rc6 #439
[10534.837669] Hardware name: LENOVO 20FB006AMN/20FB006AMN, BIOS N1FET47W (1.21
) 11/28/2016
[10534.837681] Workqueue: pm pm_runtime_work
[10534.837686] Call Trace:
[10534.837699]  dump_stack+0x67/0x92
[10534.837705]  __warn+0xd1/0xf0
[10534.837710]  warn_slowpath_fmt+0x5f/0x80
[10534.837761]  i915_gem_runtime_suspend+0x122/0x130 [i915]
[10534.837772]  ? pci_pm_runtime_resume+0xa0/0xa0
[10534.837808]  intel_runtime_suspend+0x64/0x270 [i915]
[10534.837817]  pci_pm_runtime_suspend+0x5b/0x180
[10534.837824]  __rpm_callback+0xbe/0x200
[10534.837832]  ? cpuacct_charge+0x36/0x1e0
[10534.837839]  rpm_callback+0x22/0x90
[10534.837847]  ? pci_pm_runtime_resume+0xa0/0xa0
[10534.837853]  rpm_suspend+0x132/0x700
[10534.837861]  pm_runtime_work+0x7b/0xc0
[10534.837867]  process_one_work+0x1fe/0x6d0
[10534.837873]  ? process_one_work+0x17f/0x6d0
[10534.837879]  worker_thread+0x69/0x4c0
[10534.837888]  kthread+0x12b/0x160
[10534.837893]  ? process_one_work+0x6d0/0x6d0
[10534.837900]  ? kthread_create_on_node+0x60/0x60
[10534.837907]  ret_from_fork+0x2e/0x40
[10534.837958] ---[ end trace 412b5ca7a53a8b1d ]---


Easily triggered by doing

bjorn at miraculix:~$  grep . /sys/class/drm/card0/device/power/*
/sys/class/drm/card0/device/power/async:enabled
/sys/class/drm/card0/device/power/autosuspend_delay_ms:2000
/sys/class/drm/card0/device/power/control:auto
/sys/class/drm/card0/device/power/runtime_active_kids:0
/sys/class/drm/card0/device/power/runtime_active_time:10806522
/sys/class/drm/card0/device/power/runtime_enabled:enabled
/sys/class/drm/card0/device/power/runtime_status:active
/sys/class/drm/card0/device/power/runtime_suspended_time:8310
/sys/class/drm/card0/device/power/runtime_usage:6
bjorn at miraculix:~$ xset dpms force off 

and waiting a couple of seconds.

-- 
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/20170130/29598167/attachment.html>


More information about the intel-gfx-bugs mailing list