[PATCH 17/17] drm/atomic: Refcounting for plane_state->fb

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:30PM +0100, Daniel Vetter wrote: > So my original plan was that the drm core refcounts framebuffers like > with the legacy ioctls. But that doesn't work for a bunch of reasons: > > - State objects might live longer than until the next fb change > happens for a

[PATCH 17/17] drm/atomic: Refcounting for plane_state->fb

2014-11-02 Thread Daniel Vetter
So my original plan was that the drm core refcounts framebuffers like with the legacy ioctls. But that doesn't work for a bunch of reasons: - State objects might live longer than until the next fb change happens for a plane. For example delayed cleanup work only happens _after_ the pageflip