[Bug 95472] [i915] Feature request: Add support for fencing for PRIME setups

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 4 19:44:37 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95472

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
9Halfway there:

commit ad778f8967ea2f0bfda02701f918bcfcd495b721
Author: Chris Wilson <chris at chris-wilson.co.uk>
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 <chris at chris-wilson.co.uk>
    Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
    Link:
http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-26-git-send-email-chris@chris-wilson.co.uk


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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160804/f9ffe3c9/attachment.html>


More information about the intel-gfx-bugs mailing list