<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 19.09.2018 um 05:20 schrieb zhoucm1:<br>
</div>
<blockquote type="cite"
cite="mid:0231250d-0ed0-e99b-84c6-166b47a0b9cc@amd.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2018年09月18日 16:32, Christian König
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2bea4bc7-ce1f-e1ff-8308-d932d108f237@gmail.com">
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">
<blockquote type="cite" style="color: #000000;">+ for (i
= 0; i < args->count_handles; i++) { <br>
+ if (syncobjs[i]->type ==
DRM_SYNCOBJ_TYPE_TIMELINE) { <br>
+ DRM_ERROR("timeline syncobj cannot
reset!\n"); <br>
</blockquote>
<br>
Why not? I mean that should still work or do I miss
anything? <br>
</blockquote>
timeline semaphore spec doesn't require reset interface, it
says the timeline value only can be changed by signal
operations. <br>
</blockquote>
<br>
Yeah, but we don't care about the timeline spec in the kernel. <br>
<br>
Question is rather if that still makes sense to support that and
as far as I can see it should be trivial to reinitialize the
object. </blockquote>
Hi Daniel Rakos,<br>
<br>
Could you give a comment on this question? Is it necessary to
support timeline reset interface? I only see the timeline value
can be changed by signal operations in Spec.<br>
</blockquote>
<br>
I think the Vulkan spec is rather irrelevant here. We added the
reset operation because of drivers which wanted to re-use an
existing syncobj.<br>
<br>
That is still a valid use case even when Vulkan doesn't have an
interface for it.<br>
<br>
Christian.<br>
<br>
<blockquote type="cite"
cite="mid:0231250d-0ed0-e99b-84c6-166b47a0b9cc@amd.com"> <br>
<br>
Thanks,<br>
David Zhou<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
amd-gfx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a>
</pre>
</blockquote>
<br>
</body>
</html>