<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Another comment:<br>
<br>
What would solve your DRI_PRIME issues would also be<br>
dma-buf fences.<br>
<br>
While I believe thread_submit should be a bit better (because<br>
it avoids a card stall waiting for another card to finish),
dma-buf<br>
fences make the two cards synchronize rendering properly.<br>
<br>
I don't know much of the kernel details, but as I understand
radeon and amdgpu support<br>
the kernel interface for dma-buf fences, but intel not. You should
be looking<br>
to the intel team to implement the feature.<br>
<br>
Axel<br>
<br>
On 12/05/2016 07:46, Axel Davy wrote:<br>
</div>
<blockquote cite="mid:efaeca9e-608d-5f9b-d136-a8e35bf64198@ens.fr"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 12/05/2016 04:41, Mike Lothian
wrote:<br>
</div>
<blockquote
cite="mid:CAHbf0-HG3wuQm=ht8wciPFnqKAmCwV1oJiVz=RQVwAN7mDEsoA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Axel
<div><br>
</div>
<div>Is the thread_submit=true only for nine or does it work
with all of DRI3?</div>
<div><br>
</div>
<div>I'm keen to get rid of the tearing on my Skylake/Tonga
setup</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Mike<br>
<br>
<div class="gmail_quote"><br>
</div>
</div>
</div>
</blockquote>
<p>It is gallium nine only for now.</p>
<p>In the case of gallium nine, it as a reasonnable assumption all
accesses to the rendered content (read/write) is done through
the api. Besides the window messages are independent of whether
there is presentation or not (and when). Thus you can delay the
presentation.</p>
<p>I believe in the case of GL, it is too much to do these
assumptions. Though perhaps the option could still be added and
user test if for their app it works or not. But it's not trivial
work to add support for the option.</p>
<p><br>
</p>
<p>Axel<br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mesa-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>