[Bug 97343] New: gem cancel_userptr warning

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 14 12:51:09 UTC 2016


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

            Bug ID: 97343
           Summary: gem cancel_userptr warning
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: matthew.auld at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

[  105.087133] WARNING: CPU: 0 PID: 155 at
drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0x1de/0x210 [i915]
[  105.087134] WARN_ON(i915_gem_object_put_pages(obj))
[  105.087135] Modules linked in:
[  105.087136]  rfcomm fuse xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4
tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_REJECT nf_reject_ipv6
ip6t_rpfilter xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge
stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6
ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4
nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_raw
iptable_security ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep
arc4 iwlmvm mac80211 iTCO_wdt iTCO_vendor_support iwlwifi intel_rapl
x86_pkg_temp_thermal coretemp snd_hda_codec_realtek snd_hda_codec_hdmi
snd_hda_codec_generic uvcvideo cfg80211 snd_hda_intel snd_hda_codec
videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 btusb videobuf2_core btrtl
[  105.087171]  snd_hwdep btbcm i2c_i801 videodev snd_hda_core btintel
intel_pch_thermal i2c_smbus bluetooth snd_seq rtsx_pci_ms memstick joydev
snd_seq_device lpc_ich media shpchp snd_pcm mei_me mei thinkpad_acpi snd_timer
snd soundcore rfkill wmi tpm_tis nfsd tpm_tis_core tpm intel_rst auth_rpcgss
nfs_acl lockd grace sunrpc dm_crypt hid_microsoft i915 i2c_algo_bit
drm_kms_helper drm rtsx_pci_sdmmc mmc_core e1000e rtsx_pci crct10dif_pclmul
crc32_pclmul crc32c_intel ptp serio_raw pps_core fjes video
[  105.087203] CPU: 0 PID: 155 Comm: kworker/u16:5 Tainted: G        W      
4.8.0-rc1-drm-intel+ #61
[  105.087204] Hardware name: LENOVO 20BW000FUK/20BW000FUK, BIOS JBET54WW (1.19
) 11/06/2015
[  105.087228] Workqueue: i915-userptr-release cancel_userptr [i915]
[  105.087231]  0000000000000286 000000000d997dcc ffff88022bb83d20
ffffffff813dc74d
[  105.087234]  ffff88022bb83d70 0000000000000000 ffff88022bb83d60
ffffffff810a750b
[  105.087236]  000000592b951d40 ffff880227640068 ffff880191d9e300
ffffffff81551700
[  105.087239] Call Trace:
[  105.087244]  [<ffffffff813dc74d>] dump_stack+0x63/0x86
[  105.087248]  [<ffffffff810a750b>] __warn+0xcb/0xf0
[  105.087251]  [<ffffffff81551700>] ? fence_context_alloc+0x20/0x20
[  105.087253]  [<ffffffff810a758f>] warn_slowpath_fmt+0x5f/0x80
[  105.087273]  [<ffffffffa01d1fde>] cancel_userptr+0x1de/0x210 [i915]
[  105.087276]  [<ffffffff810c0824>] process_one_work+0x184/0x410
[  105.087278]  [<ffffffff810c0afe>] worker_thread+0x4e/0x480
[  105.087279]  [<ffffffff810c0ab0>] ? process_one_work+0x410/0x410
[  105.087281]  [<ffffffff810c0ab0>] ? process_one_work+0x410/0x410
[  105.087283]  [<ffffffff810c6618>] kthread+0xd8/0xf0
[  105.087286]  [<ffffffff817e18bf>] ret_from_fork+0x1f/0x40
[  105.087288]  [<ffffffff810c6540>] ? kthread_worker_fn+0x180/0x180
[  105.087290] ---[ end trace 50e95d2a797c1d6f ]---

Happens consistently during video playback in vlc.

i915_gem_object_put_pages returns -EBUSY, because the previous call to
i915_gem_object_unbind doesn't unbind anything in our vma_list, maybe because
it's empty? Any ideas Chris?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list 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/20160814/c708f06d/attachment.html>


More information about the intel-gfx-bugs mailing list