<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [anv] Rise of the Tomb Raider always misrendering, segfault and gpu hang."
href="https://bugs.freedesktop.org/show_bug.cgi?id=107926#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [anv] Rise of the Tomb Raider always misrendering, segfault and gpu hang."
href="https://bugs.freedesktop.org/show_bug.cgi?id=107926">bug 107926</a>
from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
<pre>The crash is fixed by the following commit on master:
commit f5bab06428fc7ca6116cf0daf1c237eb86202e7a
Author: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
Date: Tue Oct 2 17:19:32 2018 -0500
anv/batch_chain: Don't start a new BO just for BATCH_BUFFER_START
Previously, we just went ahead and emitted MI_BATCH_BUFFER_START as
normal. If we are near enough to the end, this can cause us to start a
new BO just for the MI_BATCH_BUFFER_START which messes up chaining. We
always reserve enough space at the end for an MI_BATCH_BUFFER_START so
we can just increment cmd_buffer->batch.end prior to emitting the
command.
Fixes: a0b133286a3 "anv/batch_chain: Simplify secondary batch return..."
Bugzilla: <a class="bz_bug_link
bz_status_NEW "
title="NEW - [anv] Rise of the Tomb Raider always misrendering, segfault and gpu hang."
href="show_bug.cgi?id=107926">https://bugs.freedesktop.org/show_bug.cgi?id=107926</a>
Tested-by: Alex Smith <<a href="mailto:asmith@feralinteractive.com">asmith@feralinteractive.com</a>>
Reviewed-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com">lionel.g.landwerlin@intel.com</a>></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 the assignee for the bug.</li>
</ul>
</body>
</html>