[Intel-gfx] [PATCH] drm/atomic: Clear crtcs, connectors and planes when clearing state

2015-03-30 Thread Daniel Vetter
On Mon, Mar 30, 2015 at 10:41:19AM +0300, Ander Conselvan de Oliveira wrote: > Users of the atomic state assume that if the pointer to a crtc, plane or > connector is not NULL in the respective object vector, than the state > for that object in *_states vector also won't be NULL. That assumption >

[PATCH] drm/atomic: Clear crtcs, connectors and planes when clearing state

2015-03-30 Thread Ander Conselvan de Oliveira
Users of the atomic state assume that if the pointer to a crtc, plane or connector is not NULL in the respective object vector, than the state for that object in *_states vector also won't be NULL. That assumption was broken by drm_atomic_state_clear(), which would clear the state pointer but leave