From: Paulo Zanoni Date: Thu, 20 Sep 2012 21:36:04 +0000 (-0300) Subject: drm/i915: extract set_m_n from ironlake_crtc_mode_set X-Git-Tag: v3.8-rc1~82^2~192^2~230 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f48d8f235a9e3d2331b25743807340fc65b86587;p=pandora-kernel.git drm/i915: extract set_m_n from ironlake_crtc_mode_set The set_m_n code was spread all over the mode_set function. Version 2: Don't set the DP M/N registers on ironlake_set_m_n. Daniel Vetter has plans to add some encoder-specific callbacks. Also, on this version we don't change the order we're writing the registers, making the code change safer. Signed-off-by: Paulo Zanoni Reviewed-by: Rodrigo Vivi Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed