drm/msm: Use for_each_*_in_state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Jun 2016 13:41:53 +0000 (15:41 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Jun 2016 13:42:52 +0000 (15:42 +0200)
commit8d76b79faaaefb1bd16a56dc66f799c9afd82c6f
tree39be737315d42730a12f664139d51ce011933c3e
parent831655e52e52d2b13aae6988935cce63830b1b4f
drm/msm: Use for_each_*_in_state

We want to hide drm_atomic_state internals

v2: Review from Maarten:
- remove whitespace change in rockchip driver that slipped in.
- use drm_crtc_mask insted of open-coding it.

Cc: Rob Clark <robdclark@gmail.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464818821-5736-4-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/msm_atomic.c