drm/atomic: add plane iterator macros
authorRob Clark <robdclark@gmail.com>
Wed, 26 Nov 2014 01:29:46 +0000 (20:29 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Nov 2014 14:39:09 +0000 (15:39 +0100)
commitdd275956aa176cf2ff00d5437c45f1552f1f3a11
tree254ccf20f46968b64784cd31ea7fb4cf38f28248
parent6ddd388ab222b66b596342becc76d5031c0e2fc8
drm/atomic: add plane iterator macros

Add helper macros to iterate the current, or incoming set of planes
attached to a crtc.  These helpers are only available for drivers
converted to use atomic-helpers.

Signed-off-by: Rob Clark <robdclark@gmail.com>
[danvet: Squash in fixup from Rob to move the planemask iterator to
drm_crtc.h and document it. That one is needed by the atomic ioctl so
can't be in a helper library.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Documentation/DocBook/drm.tmpl
include/drm/drm_atomic_helper.h
include/drm/drm_crtc.h