drm/i915: extract connector update from intel_ddc_get_modes() for reuse
commit4eab81366465aedcfd26de960c595bc03599c09f
authorJani Nikula <jani.nikula@intel.com>
Mon, 13 Aug 2012 10:22:34 +0000 (13 13:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 17 Aug 2012 07:21:35 +0000 (17 09:21 +0200)
tree1f109301709fb7a0bc5c0f50ce60da439b5689cd
parenta843af186c3157cee58f1cf689385ab906e1f109
drm/i915: extract connector update from intel_ddc_get_modes() for reuse

Refactor the connector update part of intel_ddc_get_modes() into a separate
intel_connector_update_modes() function for reuse. No functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=45881
Tested-by: Alex Ferrando <alferpal@gmail.com>
Cc: stable@vger.kernel.org (for 3.4+3.5)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_modes.c