From: Paulo Zanoni Date: Fri, 26 Oct 2012 21:05:49 +0000 (-0200) Subject: drm/i915: reset intel_encoder->type when DP or HDMI is detected X-Git-Tag: v3.8-rc1~82^2~192^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d63885da964ee15c4ae0b348b00a1ce43b104032;p=pandora-kernel.git drm/i915: reset intel_encoder->type when DP or HDMI is detected When intel_hdmi_detect detects a monitor, set intel_encoder->type with INTEL_OUTPUT_HDMI. Same for DP. This should not break the current code because these variables never change. This will be used after we create the DDI encoder because it will have both DP and HDMI connectors. We won't support eDP+HDMI on the same port, so if an encoder is eDP we should expect it to always remain eDP and never change. Signed-off-by: Paulo Zanoni Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed