<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:yangweix.shui@intel.com" title="shui yangwei <yangweix.shui@intel.com>"> <span class="fn">shui yangwei</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [IVB]I-G-T prime test/module_reload fail with *ERROR* “Memory manager not clean. Delaying takedown”"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54111">bug 54111</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEEDINFO
</td>
<td>NEW
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [IVB]I-G-T prime test/module_reload fail with *ERROR* “Memory manager not clean. Delaying takedown”"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54111#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [IVB]I-G-T prime test/module_reload fail with *ERROR* “Memory manager not clean. Delaying takedown”"
href="https://bugs.freedesktop.org/show_bug.cgi?id=54111">bug 54111</a>
from <span class="vcard"><a class="email" href="mailto:yangweix.shui@intel.com" title="shui yangwei <yangweix.shui@intel.com>"> <span class="fn">shui yangwei</span></a>
</span></b>
<pre><span class="quote">> (In reply to <a href="show_bug.cgi?id=54111#c13">comment #13</a>)
> > I think Imre is now banging his head against this ...
>
> If think commit be8a42ae60 fixed the issue in the bug description. comment
> #10 seems to support this and I can't reproduce that issue with current
> drm-intel-nightly either.
>
> Unfortunately commit be8a42ae60 also introduced two new regressions. The
> first is when i915_gem_prime_import() fails for a self imported object and
> we do an extranous dma_buf_put in drm_gem_prime_fd_to_handle(). The second
> is not taking any reference on dma_buf on the import path for self imported
> objects that leads to the 'prime_self_import: prime_self_import.c:61:
> check_bo: Assertion `ptr1' failed.' error.
>
> Dave Airlie is working on a final fix for the second regression. Until
> that's ready could people try the following two patches? They should fix
> both of the above issues:
>
> <a href="https://patchwork.kernel.org/patch/2414801/">https://patchwork.kernel.org/patch/2414801/</a></span >
(In reply to <a href="show_bug.cgi?id=54111#c14">comment #14</a>)
There's a bug blocked this bug, I have tried this patch, but prime_self_import
failed. After the bug below fixed in nightly branch, I will retest it.
---------------------
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [Bisected]I-G-T/ prime_self_import fail"
href="show_bug.cgi?id=59229">Bug 59229</a> - [Bisected]I-G-T/ prime_self_import fail</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>