Re: [PATCH v3 5/7] drm/atomic: Add macros to access existing old/new state

2017-01-16 Thread Laurent Pinchart
Hi Maarten, Thank you for the patch. On Monday 16 Jan 2017 10:37:42 Maarten Lankhorst wrote: > After atomic commit, these macros should be used in place of > get_existing_state. Also after commit get_xx_state should no longer > be used because it may not have the required locks. Should this be

[PATCH v3 5/7] drm/atomic: Add macros to access existing old/new state

2017-01-16 Thread Maarten Lankhorst
After atomic commit, these macros should be used in place of get_existing_state. Also after commit get_xx_state should no longer be used because it may not have the required locks. Signed-off-by: Maarten Lankhorst --- include/drm/drm_atomic.h | 99