<p dir="ltr">I prefer some of my GLSL fixes in 1-4 over JP's changes, because they seem cleaner to me.</p>
<p dir="ltr">Marek</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Oct 10, 2016 1:38 PM, "Tapani Pälli" <<a href="mailto:tapani.palli@intel.com">tapani.palli@intel.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 10/10/2016 02:27 PM, Marek Olšák wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Oct 10, 2016 at 1:25 PM, Tapani Pälli <<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 10/10/2016 01:38 PM, Marek Olšák wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Mon, Oct 10, 2016 at 12:33 PM, Marek Olšák <<a href="mailto:maraeo@gmail.com" target="_blank">maraeo@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Mon, Oct 10, 2016 at 7:58 AM, Tapani Pälli <<a href="mailto:tapani.palli@intel.com" target="_blank">tapani.palli@intel.com</a>><br>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
On 10/08/2016 06:58 PM, Jason Ekstrand wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
FYI, we use ralloc for a lot more than just the glsl compiler so the<br>
first few changes make me a bit nervous. There was someone working on<br>
making our driver more I undefined-memory-friendly but I don't know<br>
what<br>
happened to those patches.<br>
</blockquote>
<br>
<br>
<br>
There's bunch of patches like that in this series:<br>
<a href="https://lists.freedesktop.org/archives/mesa-dev/2016-June/120445.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>archives/mesa-dev/2016-June/12<wbr>0445.html</a><br>
<br>
it looks like it just never landed as would have required more testing<br>
on<br>
misc drivers?<br>
</blockquote>
<br>
<br>
We can land at least some of the patches from that series. We still<br>
have to replace all non-GLSL uses of DECLARE_RALLOC.. with<br>
DECLARE_RZALLOC.<br>
</blockquote>
<br>
<br>
BTW, people can still give Rbs on all patches except 5. This rzalloc<br>
thing isn't an issue and can be dealt with in a separate series (it<br>
can be done after this series lands).<br>
</blockquote>
<br>
<br>
I agree these issues do not block review of the series. We just need to make<br>
sure it is absolutely safe before landing.<br>
<br>
As concrete example I got following segfault when I applied this series<br>
which is directly related to rzalloc issues. This was with 'shader_freeze'<br>
program, description in bug #94477 has link and build instructions for this<br>
if you want to try. When I applied JP's patches 4,5,6 (nir, i965_vec4,<br>
i965_fs changes) this segfault disappears.<br>
</blockquote>
<br>
I meant that this series is safe to land without patch 5. Did you test<br>
it without patch 5?<br>
<br>
</blockquote>
<br>
Ah sorry I managed to miss that. Now I did test and when reverting patch 5 this test passes fine. Makes sense to do patch 5 as a separate step when JP's changes land.<br>
<br>
// Tapani<br>
</blockquote></div></div>