[PATCH 12/38] drm/fence: add fence to drm_pending_event

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 02:49:13PM -0400, Sean Paul wrote: > On Wed, Jun 1, 2016 at 6:06 PM, Daniel Vetter > wrote: > > From: Gustavo Padovan > > > > Now a drm_pending_event can either send a real drm_event or signal a > > fence, or both. It allow us to signal via fences when the buffer is > > d

[PATCH 12/38] drm/fence: add fence to drm_pending_event

2016-06-02 Thread Sean Paul
On Wed, Jun 1, 2016 at 6:06 PM, Daniel Vetter wrote: > From: Gustavo Padovan > > Now a drm_pending_event can either send a real drm_event or signal a > fence, or both. It allow us to signal via fences when the buffer is > displayed on the screen. Which in turn means that the previous buffer > is

[PATCH 12/38] drm/fence: add fence to drm_pending_event

2016-06-02 Thread Daniel Vetter
From: Gustavo Padovan Now a drm_pending_event can either send a real drm_event or signal a fence, or both. It allow us to signal via fences when the buffer is displayed on the screen. Which in turn means that the previous buffer is not in use anymore and can be freed or sent back to another drive