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

2016-11-14 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 3:57 PM, Brian Starkey wrote: > I was just writing some internal docs, and it occurred to me that the > out-fence implementation here doesn't seem to match what we discussed > with Ville a few weeks back (which had completely slipped my mind). > > Did the idea of returning

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

2016-11-14 Thread Brian Starkey
Hi Gustavo, I was just writing some internal docs, and it occurred to me that the out-fence implementation here doesn't seem to match what we discussed with Ville a few weeks back (which had completely slipped my mind). Did the idea of returning -1 fences for multiple commits within a frame get d

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

2016-11-14 Thread Robert Foss
Tested on db410c running android + drm_hwcomposer, confirmed to be working. Tested-by: Robert Foss

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

2016-11-14 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 v10 3/3] drm/fence: add out-fences support

2016-11-14 Thread Brian Starkey
Hi, On Mon, Nov 14, 2016 at 10:59:56AM +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 sync_file