<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [i915] Feature request: Add support for fencing for PRIME setups"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95472#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [i915] Feature request: Add support for fencing for PRIME setups"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95472">bug 95472</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>9Halfway there:
commit ad778f8967ea2f0bfda02701f918bcfcd495b721
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date: Thu Aug 4 16:32:42 2016 +0100
drm/i915: Export our request as a dma-buf fence on the reservation object
If the GEM objects being rendered with in this request have been
exported via dma-buf to a third party, hook ourselves into the dma-buf
reservation object so that the third party can serialise with our
rendering via the dma-buf fences.
Testcase: igt/prime_busy
Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Reviewed-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
Link:
<a href="http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-26-git-send-email-chris@chris-wilson.co.uk">http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-26-git-send-email-chris@chris-wilson.co.uk</a>
Exporting rendering from i915.ko to others (nouveau, radeon/amdgpu) should
work. Import rendering from others to flip should work (reverse prime +
tearfree etc). Last remaining (missing) trick is importing rendering from
others into our rendering for updates (windowed swapbuffers, should affect all
render offload to a dgpu iirc).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>