drm/i915: extract connector update from intel_ddc_get_modes() for reuse
authorJani Nikula <jani.nikula@intel.com>
Mon, 13 Aug 2012 10:22:34 +0000 (13:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:30:23 +0000 (10:30 -0700)
commit33822abf1d7190dd8dab1da87661bde5208de6c8
tree2824aea9350320afe66d7a108929c08540bdbad9
parent9e4f7198fda9c9d9effccff1a9d56ea2b0b3d4b4
drm/i915: extract connector update from intel_ddc_get_modes() for reuse

commit 4eab81366465aedcfd26de960c595bc03599c09f upstream.

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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_modes.c