<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [clover] Add support for NULL global memory object arguments"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73571#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [clover] Add support for NULL global memory object arguments"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73571">bug 73571</a>
from <span class="vcard"><a class="email" href="mailto:tstellar@gmail.com" title="Tom Stellard <tstellar@gmail.com>"> <span class="fn">Tom Stellard</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=73571#c3">comment #3</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=92006" name="attach_92006" title="Don't crash on NULL global mem objects">attachment 92006</a> <a href="attachment.cgi?id=92006&action=edit" title="Don't crash on NULL global mem objects">[details]</a></span>
> Don't crash on NULL global mem objects
>
> The attached patch fixes the original issue (bt in #c2), and adds prelimnary
> support for NULL global mem objects.</span >
Can you send this patch to the mailing list and cc Francisco. Also, in order
to fix this correctly on r600g, you will need to reserve offset 0 in the memory
pool, so that there are 0 can never be a valid pointer.
You can do this by creating a 1024 byte memory pool item and adding it to the
item list in the compute_memory_pool_init() function. This should reserve the
space so no other items can use it.</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>