[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-17 Thread Ville Syrjälä
On Thu, Nov 17, 2016 at 01:42:13PM +0100, Maarten Lankhorst wrote: > Op 17-11-16 om 13:26 schreef Ville Syrjälä: > > On Thu, Nov 17, 2016 at 12:58:00PM +0100, Maarten Lankhorst wrote: > >> Op 16-11-16 om 17:32 schreef Ville Syrjälä: > >>> On Wed, Nov 16, 2016 at 05:11:56PM +0100, Maarten Lankho

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-17 Thread Ville Syrjälä
On Thu, Nov 17, 2016 at 12:58:00PM +0100, Maarten Lankhorst wrote: > Op 16-11-16 om 17:32 schreef Ville Syrjälä: > > On Wed, Nov 16, 2016 at 05:11:56PM +0100, Maarten Lankhorst wrote: > >> Op 16-11-16 om 16:04 schreef Daniel Vetter: > >>> On Wed, Nov 16, 2016 at 04:35:45PM +0200, Ville Syrjälä

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-17 Thread Maarten Lankhorst
Op 17-11-16 om 13:26 schreef Ville Syrjälä: > On Thu, Nov 17, 2016 at 12:58:00PM +0100, Maarten Lankhorst wrote: >> Op 16-11-16 om 17:32 schreef Ville Syrjälä: >>> On Wed, Nov 16, 2016 at 05:11:56PM +0100, Maarten Lankhorst wrote: Op 16-11-16 om 16:04 schreef Daniel Vetter: > On Wed, N

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-17 Thread Maarten Lankhorst
Op 16-11-16 om 17:32 schreef Ville Syrjälä: > On Wed, Nov 16, 2016 at 05:11:56PM +0100, Maarten Lankhorst wrote: >> Op 16-11-16 om 16:04 schreef Daniel Vetter: >>> On Wed, Nov 16, 2016 at 04:35:45PM +0200, Ville Syrjälä wrote: On Wed, Nov 16, 2016 at 02:58:06PM +0100, Maarten Lankhorst wro

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-16 Thread Ville Syrjälä
On Wed, Nov 16, 2016 at 05:11:56PM +0100, Maarten Lankhorst wrote: > Op 16-11-16 om 16:04 schreef Daniel Vetter: > > On Wed, Nov 16, 2016 at 04:35:45PM +0200, Ville Syrjälä wrote: > >> On Wed, Nov 16, 2016 at 02:58:06PM +0100, Maarten Lankhorst wrote: > >>> With checks! This will allow safe acces

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-16 Thread Daniel Vetter
On Wed, Nov 16, 2016 at 05:11:56PM +0100, Maarten Lankhorst wrote: > Op 16-11-16 om 16:04 schreef Daniel Vetter: > > On Wed, Nov 16, 2016 at 04:35:45PM +0200, Ville Syrjälä wrote: > >> On Wed, Nov 16, 2016 at 02:58:06PM +0100, Maarten Lankhorst wrote: > >>> With checks! This will allow safe acces

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-16 Thread Maarten Lankhorst
Op 16-11-16 om 16:04 schreef Daniel Vetter: > On Wed, Nov 16, 2016 at 04:35:45PM +0200, Ville Syrjälä wrote: >> On Wed, Nov 16, 2016 at 02:58:06PM +0100, Maarten Lankhorst wrote: >>> With checks! This will allow safe access to the current state, >>> while ensuring that the correct locks are held.

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-16 Thread Ville Syrjälä
On Wed, Nov 16, 2016 at 02:58:06PM +0100, Maarten Lankhorst wrote: > With checks! This will allow safe access to the current state, > while ensuring that the correct locks are held. > > Signed-off-by: Maarten Lankhorst > --- > include/drm/drm_atomic.h | 66 > ++

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-16 Thread Daniel Vetter
On Wed, Nov 16, 2016 at 04:35:45PM +0200, Ville Syrjälä wrote: > On Wed, Nov 16, 2016 at 02:58:06PM +0100, Maarten Lankhorst wrote: > > With checks! This will allow safe access to the current state, > > while ensuring that the correct locks are held. > > > > Signed-off-by: Maarten Lankhorst > >

[PATCH v2 2/4] drm/atomic: Add accessor macros for the current state.

2016-11-16 Thread Maarten Lankhorst
With checks! This will allow safe access to the current state, while ensuring that the correct locks are held. Signed-off-by: Maarten Lankhorst --- include/drm/drm_atomic.h | 66 ++ include/drm/drm_modeset_lock.h | 21 ++ 2 files changed,