drm/core: Add drm_for_each_encoder_mask, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 7 Jan 2016 09:59:19 +0000 (10:59 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Feb 2016 10:21:04 +0000 (11:21 +0100)
commitead8b665705a0926442fbd3f4dbccbec36e5b8f4
treeb72d277792e0fcaf9890fa0e80a3d776e15a08d1
parent47d7777f99da283ff0d6248dd9e83593cf06760c
drm/core: Add drm_for_each_encoder_mask, v2.

This is similar to the other drm_for_each_*_mask functions.

Changes since v1:
- Use for_each_if

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1452160762-30487-3-git-send-email-maarten.lankhorst@linux.intel.com
include/drm/drm_crtc.h