<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Rebinding AMDGPU causes initialization errors [R9 290 / 4.10 kernel]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101946#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Rebinding AMDGPU causes initialization errors [R9 290 / 4.10 kernel]"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101946">bug 101946</a>
from <span class="vcard"><a class="email" href="mailto:beanow@oscp.info" title="Robin <beanow@oscp.info>"> <span class="fn">Robin</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=133108" name="attach_133108" title="case3.sh">attachment 133108</a> <a href="attachment.cgi?id=133108&action=edit" title="case3.sh">[details]</a></span>
case3.sh
So, tinkering with the test script I've only been able to eliminate some
suspicions and invalidate my observation the patch performed better.
I've taken out vfio-pci binding from the loop. It's only used during boot to
keep the GPU free to unbind. So it's not related to vfio-pci's having access in
between binds.
I've made 3 methods for rebinding amdgpu.
amdgpu rmmod > modprobe
remove pci devices > rescan
driver unbind > bind
I've run each of these a few dozen times on each kernel and none of them really
stand out. All of them have a chance to work (as in, ring 1 test failure only)
or to fail.
4.13rc2, drm-next-4.14-wip, drm-next-4.14-wip + patch3 all have this behaviour.
So no I don't think they've helped after all.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>