[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 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

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 Thread Gustavo Padovan
Hi Brian, 2016-11-11 Brian Starkey : > Hi Gustavo, > > On Fri, Nov 11, 2016 at 02:16:09PM +0900, 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_

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 Thread Daniel Vetter
On Fri, Nov 11, 2016 at 11:48:09AM -0500, Sean Paul wrote: > On Fri, Nov 11, 2016 at 9:15 AM, Gustavo Padovan > wrote: > > +static void complete_crtc_signaling(struct drm_device *dev, > > +struct drm_atomic_state *state, > > +

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 Thread Brian Starkey
Spotted one more thing on a cleanup path... On Fri, Nov 11, 2016 at 11:15:59PM +0900, 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 O

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 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

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 Thread Sean Paul
On Fri, Nov 11, 2016 at 12:11 PM, Daniel Vetter wrote: > On Fri, Nov 11, 2016 at 11:48:09AM -0500, Sean Paul wrote: >> On Fri, Nov 11, 2016 at 9:15 AM, Gustavo Padovan >> wrote: >> > +static void complete_crtc_signaling(struct drm_device *dev, >> > +struct drm

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 Thread Sean Paul
On Fri, Nov 11, 2016 at 9:15 AM, 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_file fd back

[PATCH v8 3/3] drm/fence: add out-fences support

2016-11-11 Thread Brian Starkey
Hi Gustavo, On Fri, Nov 11, 2016 at 02:16:09PM +0900, 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 s