drm/atomic: Add for_each_{connector,crtc,plane}_in_state helper macros
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 10 Apr 2015 11:58:39 +0000 (14:58 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 11 Apr 2015 16:50:22 +0000 (18:50 +0200)
commitdf63b9994eaf942afcdb946d27a28661d7dfbf2a
tree9dc7a381498dbf60a8c639dff634e6a43897af53
parent0578be680c6623ad6515b60a0b41ec70ebc1f204
drm/atomic: Add for_each_{connector,crtc,plane}_in_state helper macros

This saves some typing whenever a iteration over all the connector,
crtc or plane states in the atomic state is written, which happens
quite often.

Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic.h