Re: [PATCH v6 6/6] drm/fence: add out-fences support

2016-10-28 Thread Brian Starkey
Hi Gustavo, On Thu, Oct 27, 2016 at 05:37:11PM -0200, Gustavo Padovan wrote: From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_f

Re: [PATCH v6 6/6] drm/fence: add out-fences support

2016-10-28 Thread Daniel Vetter
On Thu, Oct 27, 2016 at 05:37:11PM -0200, Gustavo Padovan wrote: > From: Gustavo Padovan > > Support DRM out-fences by creating a sync_file with a fence for each CRTC > that sets the OUT_FENCE_PTR property. > > We use the out_fence pointer received in the OUT_FENCE_PTR prop to send > the sync_fi

[PATCH v6 6/6] drm/fence: add out-fences support

2016-10-27 Thread Gustavo Padovan
From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property. We use the out_fence pointer received in the OUT_FENCE_PTR prop to send the sync_file fd back to userspace. The sync_file and fd are allocated/created before com