<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><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#c2">Comment # 2</a>
on <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">bug 81027</a>
from <span class="vcard"><a class="email" href="mailto:jinxianx.guo@intel.com" title="Guo Jinxian <jinxianx.guo@intel.com>"> <span class="fn">Guo Jinxian</span></a>
</span></b>
<pre>The dmesg warning is able to reproduce while running tests below:
igt/gem_userptr_blits/coherency-sync
igt/gem_userptr_blits/coherency-unsync
igt/gem_userptr_blits/forked-access
igt/gem_userptr_blits/forked-sync-interruptible
igt/gem_userptr_blits/forked-sync-mempressure-interruptible
igt/gem_userptr_blits/forked-sync-mempressure-normal
igt/gem_userptr_blits/forked-sync-multifd-interruptible
igt/gem_userptr_blits/forked-sync-multifd-mempressure-interruptible
igt/gem_userptr_blits/forked-sync-multifd-mempressure-normal
igt/gem_userptr_blits/forked-sync-multifd-normal
igt/gem_userptr_blits/forked-sync-normal
igt/gem_userptr_blits/forked-sync-swapping-interruptible
igt/gem_userptr_blits/forked-sync-swapping-mempressure-interruptible
igt/gem_userptr_blits/forked-sync-swapping-mempressure-normal
igt/gem_userptr_blits/forked-sync-swapping-multifd-interruptible
igt/gem_userptr_blits/forked-sync-swapping-multifd-mempressure-interruptible
igt/gem_userptr_blits/forked-sync-swapping-multifd-mempressure-normal
igt/gem_userptr_blits/forked-sync-swapping-multifd-normal
igt/gem_userptr_blits/forked-sync-swapping-normal
igt/gem_userptr_blits/forked-unsync-interruptible
igt/gem_userptr_blits/forked-unsync-mempressure-interruptible
igt/gem_userptr_blits/forked-unsync-mempressure-normal
igt/gem_userptr_blits/forked-unsync-multifd-interruptible
igt/gem_userptr_blits/forked-unsync-multifd-mempressure-interruptible
igt/gem_userptr_blits/forked-unsync-multifd-mempressure-normal
igt/gem_userptr_blits/forked-unsync-multifd-normal
igt/gem_userptr_blits/forked-unsync-normal
igt/gem_userptr_blits/forked-unsync-swapping-interruptible
igt/gem_userptr_blits/forked-unsync-swapping-mempressure-interruptible
igt/gem_userptr_blits/forked-unsync-swapping-mempressure-normal
igt/gem_userptr_blits/forked-unsync-swapping-multifd-interruptible
igt/gem_userptr_blits/forked-unsync-swapping-multifd-mempressure-interruptible
igt/gem_userptr_blits/forked-unsync-swapping-multifd-mempressure-normal
igt/gem_userptr_blits/forked-unsync-swapping-multifd-normal
igt/gem_userptr_blits/forked-unsync-swapping-normal
igt/gem_userptr_blits/major-normal-sync
igt/gem_userptr_blits/major-sync-interruptible
igt/gem_userptr_blits/major-unsync-interruptible
igt/gem_userptr_blits/major-unsync-normal
igt/gem_userptr_blits/minor-normal-sync
igt/gem_userptr_blits/minor-sync-interruptible
igt/gem_userptr_blits/minor-unsync-interruptible
igt/gem_userptr_blits/minor-unsync-normal
igt/gem_userptr_blits/process-exit-busy
igt/gem_userptr_blits/process-exit-gtt
igt/gem_userptr_blits/process-exit-gtt-busy
igt/gem_userptr_blits/sync-unmap
igt/gem_userptr_blits/sync-unmap-after-close
igt/gem_userptr_blits/sync-unmap-cycles
igt/gem_userptr_blits/unsync-unmap
igt/gem_userptr_blits/unsync-unmap-after-close
igt/gem_userptr_blits/unsync-unmap-cycles
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
./gem_userptr_blits --run-subtest coherency-sync
IGT-Version: 1.8-g107151c (x86_64) (Linux:
3.17.0-rc4_drm-intel-nightly_907d7b_20140912+ x86_64)
Aperture size is 2048 MiB
Total RAM is 3837 MiB
Testing unsynchronized mappings...
Testing synchronized mappings...
Using 2x1365 1MiB buffers
Verifying initialisation...
Cyclic blits cpu->gpu, forward...
Test assertion failure function copy, file gem_userptr_blits.c:205:
Failed assertion: ret == error
Last errno: 22, Invalid argument
Subtest coherency-sync: FAIL (6.122s)
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# echo $?
99
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep
"<[1-4]>"|grep drm
<4>[ 292.015925] WARNING: CPU: 0 PID: 4488 at
drivers/gpu/drm/i915/i915_gem.c:3463 i915_gem_object_pin+0x3d4/0x65d [i915]()
<4>[ 292.015928] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt
iTCO_vendor_support snd_hda_codec_conexant snd_hda_codec_generic pcspkr lpc_ich
i2c_i801 mfd_core snd_hda_intel r8169 snd_hda_controller snd_hda_codec
snd_hwdep snd_pcm snd_timer snd soundcore iosf_mbi battery wmi ac acpi_cpufreq
uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev
i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[ 292.015968] CPU: 0 PID: 4488 Comm: gem_userptr_bli Not tainted
3.17.0-rc4_drm-intel-nightly_907d7b_20140912+ #2372
<4>[ 292.016204] [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm]</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>