drm/i915: Use new atomic iterator macros in wm code
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 9 Mar 2017 14:52:03 +0000 (15:52 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 13 Mar 2017 11:06:40 +0000 (12:06 +0100)
commit6ebdb5a02948d09093af486b237a9692fd21c998
tree0f8a8bca27aa2a70b103d6bb7ffe62f52f0c3f57
parente96b206f543c64532a1342f2e5ce277911102ec9
drm/i915: Use new atomic iterator macros in wm code

The watermark code needs to look at the new allocations, so use
for_each_new_crtc_in_state everywhere.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1489071125-917-4-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c