drm/i915: Use new atomic iterator macros in cdclk
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 9 Mar 2017 14:52:05 +0000 (15:52 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 13 Mar 2017 11:06:40 +0000 (12:06 +0100)
commite6963ccf5b4ced6412bcfad23410ff27d619dc3c
tree0c6537fcf974bc63cf0bc23361aa576977503585
parentaa5e9b47b90156f0c35b9ff46fe658c565ce0ef9
drm/i915: Use new atomic iterator macros in cdclk

Calculating the max pixel rate requires the new state, so use it there.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1489071125-917-6-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_cdclk.c