[PATCH 3/3] drm/atomic: Allow drivers to subclass drm_atomic_state, v2

2015-05-13 Thread Daniel Vetter
On Wed, May 13, 2015 at 09:56:02AM +0200, Maarten Lankhorst wrote: > Drivers may need to store the state of shared resources, such as PLLs > or FIFO space, into the atomic state. Allow this by making it possible > to subclass drm_atomic_state. > > Changes since v1: > - Change member names for func

[PATCH 3/3] drm/atomic: Allow drivers to subclass drm_atomic_state, v2

2015-05-13 Thread Maarten Lankhorst
Drivers may need to store the state of shared resources, such as PLLs or FIFO space, into the atomic state. Allow this by making it possible to subclass drm_atomic_state. Changes since v1: - Change member names for functions to atomic_state_(alloc,clear) - Change __drm_atomic_state_new to drm_atom