[Bug 81027] New: [All]igt/gem_ctx_exec/reset-pin-leak fails and cause "WARNING: CPU: 2 PID: 4442 at drivers/gpu/drm/i915/i915_gem.c:4068 i915_gem_object_pin+0x9d/0x660 [i915]()"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 7 20:33:13 PDT 2014


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

          Priority: medium
            Bug ID: 81027
                CC: intel-gfx-bugs at lists.freedesktop.org
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: [All]igt/gem_ctx_exec/reset-pin-leak fails and cause
                    "WARNING: CPU: 2 PID: 4442 at
                    drivers/gpu/drm/i915/i915_gem.c:4068
                    i915_gem_object_pin+0x9d/0x660 [i915]()"
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: jinxianx.guo at intel.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: DRM/Intel
           Product: DRI

Created attachment 102405
  --> https://bugs.freedesktop.org/attachment.cgi?id=102405&action=edit
dmesg

==System Environment==
--------------------------
Regression: No. 
It's new case

Non-working platforms: All

==kernel==
--------------------------
origin/drm-intel-nightly: 2a9005c8ae4d3418dd79f2471695f85c83024dd0(fails)
    drm-intel-nightly: 2014y-07m-07d-23h-45m-32s integration manifest
origin/drm-intel-next-queued: f7d2323c181ed5a2596494b860a99d567fd3e6cd(fails)
    drm/i915: correct BLC vs PWM enable/disable ordering  
origin/drm-intel-fixes: af7d042e95d95ea02060802117010bf7d649340a(fails)
    drm/i915: Update the DSI ULPS entry/exit sequence

==Bug detailed description==
-----------------------------
igt/gem_ctx_exec/reset-pin-leak fails and cause "WARNING: CPU: 2 PID: 4442 at
drivers/gpu/drm/i915/i915_gem.c:4068 i915_gem_object_pin+0x9d/0x660 [i915]()"

Output:
[root at x-sgb3 tests]# ./gem_ctx_exec --run-subtest reset-pin-leak
IGT-Version: 1.7-g838f321 (x86_64) (Linux:
3.15.0-rc8_drm-intel-next-queued_57127e_20140707+ x86_64)
Test assertion failure function __real_main174, file gem_ctx_exec.c:224:
Last errno: 16, Device or resource busy
Failed assertion: exec(fd, handle, I915_EXEC_RENDER, ctx_id) == 0
Subtest reset-pin-leak: FAIL
Warning on condition flags != 0 in fucntion check_stop_rings, file drmtest.c:97
i915_ring_stop flags on exit 0x400000ff, can't quiescent gpu cleanly

Dmesg shows:
[  422.170991] WARNING: CPU: 2 PID: 4442 at
drivers/gpu/drm/i915/i915_gem.c:4068 i915_gem_object_pin+0x9d/0x660 [i915]()
[  422.173059] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support
firewire_ohci ppdev pcspkr serio_raw i2c_i801 lpc_ich snd_hda_intel
firewire_core mfd_core crc_itu_t snd_hda_controller snd_hda_codec snd_hwdep
snd_pcm snd_timer snd soundcore parport_pc parport tpm_tis tpm acpi_cpufreq
i915 video button drm_kms_helper drm
[  422.177525] CPU: 2 PID: 4442 Comm: gem_ctx_exec Not tainted
3.15.0-rc8_drm-intel-next-queued_57127e_20140707+ #292
[  422.179739] Hardware name:                  /DQ67SW, BIOS
SWQ6710H.86A.0060.2011.1220.1805 12/20/2011
[  422.181953]  0000000000000000 0000000000000009 ffffffff81772baa
0000000000000000
[  422.184180]  ffffffff81036e54 0000000000000086 ffffffffa0082921
ffff88022fcbfc40
[  422.186404]  ffff88022f54b500 0000000000000004 ffff88022fbe7868
0000000000010000
[  422.188612] Call Trace:
[  422.190791]  [<ffffffff81772baa>] ? dump_stack+0x41/0x51
[  422.192973]  [<ffffffff81036e54>] ? warn_slowpath_common+0x78/0x90
[  422.195160]  [<ffffffffa0082921>] ? i915_gem_object_pin+0x9d/0x660 [i915]
[  422.197335]  [<ffffffffa0082921>] ? i915_gem_object_pin+0x9d/0x660 [i915]
[  422.199483]  [<ffffffffa0095853>] ? intel_ring_begin+0x2f/0x156 [i915]
[  422.201622]  [<ffffffffa00d9313>] ?
i915_gem_execbuffer_reserve_vma.isra.11+0x8e/0x118 [i915]
[  422.203775]  [<ffffffffa0078dde>] ? i915_switch_context+0x164/0x496 [i915]
[  422.205913]  [<ffffffffa007ad53>] ?
i915_gem_do_execbuffer.isra.13+0xd1f/0x11ff [i915]
[  422.208036]  [<ffffffff81113e28>] ? dput+0x19/0x13c
[  422.210152]  [<ffffffffa007b6f6>] ? i915_gem_execbuffer2+0x173/0x209 [i915]
[  422.212274]  [<ffffffffa0002f72>] ? drm_ioctl+0x25c/0x3ad [drm]
[  422.214388]  [<ffffffffa007b583>] ? i915_gem_execbuffer+0x350/0x350 [i915]
[  422.216488]  [<ffffffff81324532>] ? scnprintf+0x39/0x3e
[  422.218563]  [<ffffffff811109b7>] ? do_vfs_ioctl+0x3ec/0x435
[  422.220628]  [<ffffffff8111e73a>] ? simple_attr_release+0xd/0x11
[  422.222688]  [<ffffffff8104da8d>] ? task_work_run+0x78/0x87
[  422.224742]  [<ffffffff81110a49>] ? SyS_ioctl+0x49/0x78
[  422.226791]  [<ffffffff8109ac0d>] ? __audit_syscall_exit+0x209/0x225
[  422.228849]  [<ffffffff8177ea22>] ? system_call_fastpath+0x16/0x1b


==Reproduce steps==
---------------------------- 
1. ./gem_ctx_exec --run-subtest reset-pin-leak

-- 
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: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140708/4aade7f8/attachment.html>


More information about the intel-gfx-bugs mailing list