[PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-06 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 12:43:34PM -0500, Sean Paul wrote: > On Sun, Nov 02, 2014 at 02:19:27PM +0100, Daniel Vetter wrote: > > + state->acquire_ctx = drm_modeset_legacy_acquire_ctx(crtc); > > +retry: > > + crtc_state = drm_atomic_get_crtc_state(state, crtc); > > + if (IS_ERR(crtc_state)) { > > +

[Intel-gfx] [PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-06 Thread Sean Paul
On Thu, Nov 6, 2014 at 1:13 PM, Daniel Vetter wrote: > > On Thu, Nov 06, 2014 at 12:43:34PM -0500, Sean Paul wrote: > > On Sun, Nov 02, 2014 at 02:19:27PM +0100, Daniel Vetter wrote: > > > + state->acquire_ctx = drm_modeset_legacy_acquire_ctx(crtc); > > > +retry: > > > + crtc_state =

[PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-06 Thread Sean Paul
On Sun, Nov 02, 2014 at 02:19:27PM +0100, Daniel Vetter wrote: > Currently there is no way to implement async flips using atomic, that > essentially requires us to be able to cancel pending requests > mid-flight. > > To be able to do that (and I guess we want this since vblank synced > updates

[PATCH 14/17] drm/atomic-helper: implement ->page_flip

2014-11-02 Thread Daniel Vetter
Currently there is no way to implement async flips using atomic, that essentially requires us to be able to cancel pending requests mid-flight. To be able to do that (and I guess we want this since vblank synced updates whic opportunistically cancel still pending updates seem to be wanted) we'd