[PATCH 2/6] drm: writeback: Add out-fences for writeback connectors

Boris Brezillon boris.brezillon at free-electrons.com
Fri Apr 14 10:11:14 UTC 2017


On Fri, 25 Nov 2016 16:49:00 +0000
Brian Starkey <brian.starkey at arm.com> wrote:

> Add the OUT_FENCE_PTR property to writeback connectors, to enable
> userspace to get a fence which will signal once the writeback is
> complete. It is not allowed to request an out-fence without a
> framebuffer attached to the connector.
> 
> A timeline is added to drm_writeback_connector for use by the writeback
> out-fences.
> 
> In the case of a commit failure or DRM_MODE_ATOMIC_TEST_ONLY, the fence
> is set to -1.
> 
> Changes from v2:
>  - Rebase onto Gustavo Padovan's v9 explicit sync series
>  - Change out_fence_ptr type to s32 __user *

Don't know what happened, but I still see s32 __user * types in this
patch (I had to patch it to make in work on top of 4.11-rc1).


More information about the dri-devel mailing list