<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="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]()""
href="https://bugs.freedesktop.org/show_bug.cgi?id=81027">81027</a>
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[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]()"
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jinxianx.guo@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=102405" name="attach_102405" title="dmesg">attachment 102405</a> <a href="attachment.cgi?id=102405&action=edit" title="dmesg">[details]</a></span>
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@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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>