Commit b7079cbd authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Correctly terminate connector iteration

One should use drm_connector_list_iter_end() rather than
drm_connector_list_iter_begin() to terminate the connector
iteration.

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1278
Fixes: e24bcd34 ("drm/i915/dp: Add all tiled and port sync conns to modeset")
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200221154310.14858-1-ville.syrjala@linux.intel.comReviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
parent 408c1b32
...@@ -6636,7 +6636,7 @@ static int intel_modeset_tile_group(struct intel_atomic_state *state, ...@@ -6636,7 +6636,7 @@ static int intel_modeset_tile_group(struct intel_atomic_state *state,
if (ret) if (ret)
break; break;
} }
drm_connector_list_iter_begin(&dev_priv->drm, &conn_iter); drm_connector_list_iter_end(&conn_iter);
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment