From: Jani Nikula Date: Tue, 30 Jul 2013 09:20:30 +0000 (+0300) Subject: drm/i915: rearrange vlv dp enable and pre_enable callbacks X-Git-Tag: v3.12-rc1~136^2~59^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab1f90f9662482021fddd0e7868005401f62866f;p=pandora-kernel.git drm/i915: rearrange vlv dp enable and pre_enable callbacks VLV wants encoder enabling before the pipe is up. This is currently achieved through calling the ->enable callback early, right after the ->pre_enable callback, in valleyview_crtc_enable(). This loses both the distinction between ->pre_enable and ->enable on VLV and the possibility to use a hook at the end of the modeset sequence. Rearrange the DP callbacks to make it possible to move ->enable call later. Basically do everything in ->pre_enable on VLV, and make ->enable a NOP. There should be no functional changes. v2: Rebase. v3: Explain why this is needed in the commit message (Chris). Signed-off-by: Jani Nikula Reviewed-by: Chris Wilson Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed