Re: [Intel-gfx] [PATCH] drm: Global atomic state handling

2015-02-06 Thread Daniel Vetter
On Fri, Feb 06, 2015 at 11:58:58AM +0200, Jani Nikula wrote: > On Wed, 05 Nov 2014, Daniel Vetter wrote: > > [heavily edited to just show the debugs] > > > +struct drm_atomic_state * > > +drm_atomic_state_alloc(struct drm_device *dev) > > +{ > > + DRM_DEBUG_KMS("Allocate atomic state %p\n", st

Re: [Intel-gfx] [PATCH] drm: Global atomic state handling

2015-02-06 Thread Jani Nikula
On Wed, 05 Nov 2014, Daniel Vetter wrote: [heavily edited to just show the debugs] > +struct drm_atomic_state * > +drm_atomic_state_alloc(struct drm_device *dev) > +{ > + DRM_DEBUG_KMS("Allocate atomic state %p\n", state); > +} > +void drm_atomic_state_clear(struct drm_atomic_state *state)

[Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-05 Thread Daniel Vetter
Some differences compared to Rob's patches again: - Dropped the committed and checked booleans. Checking will be internally enforced by always calling ->atomic_check before ->atomic_commit. And async handling needs to be solved differently because the current scheme completely side-steps ww m

[Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-05 Thread Daniel Vetter
Some differences compared to Rob's patches again: - Dropped the committed and checked booleans. Checking will be internally enforced by always calling ->atomic_check before ->atomic_commit. And async handling needs to be solved differently because the current scheme completely side-steps ww m

[Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-05 Thread Daniel Vetter
Some differences compared to Rob's patches again: - Dropped the committed and checked booleans. Checking will be internally enforced by always calling ->atomic_check before ->atomic_commit. And async handling needs to be solved differently because the current scheme completely side-steps ww m

Re: [Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-05 Thread Ander Conselvan de Oliveira
On 11/05/2014 12:07 AM, Daniel Vetter wrote: /** + * struct struct drm_atomic_state - the global state object for atomic updates + * @dev: parent DRM device + * @flags: state flags like async update + * @planes: pointer to array of plane pointers + * @plane_states: pointer to array of plane sta

Re: [Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-04 Thread Sean Paul
On Tue, Nov 4, 2014 at 5:07 PM, Daniel Vetter wrote: > Some differences compared to Rob's patches again: > - Dropped the committed and checked booleans. Checking will be > internally enforced by always calling ->atomic_check before > ->atomic_commit. And async handling needs to be solved diffe

[Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-04 Thread Daniel Vetter
Some differences compared to Rob's patches again: - Dropped the committed and checked booleans. Checking will be internally enforced by always calling ->atomic_check before ->atomic_commit. And async handling needs to be solved differently because the current scheme completely side-steps ww m

[Intel-gfx] [PATCH] drm: Global atomic state handling

2014-11-04 Thread Daniel Vetter
Some differences compared to Rob's patches again: - Dropped the committed and checked booleans. Checking will be internally enforced by always calling ->atomic_check before ->atomic_commit. And async handling needs to be solved differently because the current scheme completely side-steps ww m