[Intel-gfx] [PATCH 11/38] drm: Consolidate crtc arrays in drm_atomic_state

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 04:42:07PM +0200, Maarten Lankhorst wrote: > Op 02-06-16 om 00:06 schreef Daniel Vetter: > > It's silly to have 2 mallocs when we could tie these two together. > > > > Also, Gustavo adds another one in his per-crtc out-fence patches. And > > I want to add more stuff here for

[Intel-gfx] [PATCH 11/38] drm: Consolidate crtc arrays in drm_atomic_state

2016-06-02 Thread Maarten Lankhorst
Op 02-06-16 om 00:06 schreef Daniel Vetter: > It's silly to have 2 mallocs when we could tie these two together. > > Also, Gustavo adds another one in his per-crtc out-fence patches. And > I want to add more stuff here for nonblocking commit helpers. > > In the future we can use this to store a poi

[PATCH 11/38] drm: Consolidate crtc arrays in drm_atomic_state

2016-06-02 Thread Daniel Vetter
It's silly to have 2 mallocs when we could tie these two together. Also, Gustavo adds another one in his per-crtc out-fence patches. And I want to add more stuff here for nonblocking commit helpers. In the future we can use this to store a pointer to the preceeding state, making an atomic update