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

Add a big fat warning in __intel_display_resume that the old state is
invalid, and use the correct state everywhere.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1489071125-917-5-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>
[mlankhorst: Change one occurence of conn_state to new_conn_state in
             verify_connector_state, and drop old_conn_state there]
drivers/gpu/drm/i915/intel_display.c