]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Correctly terminate connector iteration
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Feb 2020 15:43:10 +0000 (17:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 24 Feb 2020 14:01:20 +0000 (16:01 +0200)
commitdc2d0a7d76f3521587e5fd6c3eff0d13c9d02347
treedd011f60ccdfeeaec8ec8634b20ea957f1e06f65
parente4a0c39f76f83719e33f5a07ae17159cdb8e92b6
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: e2d9d101b251 ("drm/i915/dp: Add all tiled and port sync conns to modeset")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200221154310.14858-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c