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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 5 09:50:53 UTC 2016


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

--- Comment #13 from Chris Wilson <chris at chris-wilson.co.uk> ---
Thinking through the DRI3 chain.

GL/dgpu client renders into back buffer
-> SwapBuffers, GL/dgpu copies into linear buffer (dma-buf pixmap) and calls
PresentPixmap
   -> X/igfx either flips the fullscreen dma-buf pixmap, or copies from the
dma-buf pixmap into the frontbuffer

Here we should have a write/exclusive fence installed by the client and that
should be waited upon by i915.ko inside X. The copy/flip are different call
paths inside i915.ko, but both should be waiting for read access on the fence.

Does the behaviour differ if the rendered app is fullscreen (and make sure you
have fullscreen unredirection enabled)?

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


More information about the intel-gfx-bugs mailing list