From: Ville Syrjälä Date: Tue, 5 May 2015 14:17:29 +0000 (+0300) Subject: drm/i915: Clarfify the DP code platform checks X-Git-Tag: omap-for-v4.2/fixes-rc1^2~37^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39e5fa8886f9d52e5ebbd70af3e0fd14492e8c60;p=pandora-kernel.git drm/i915: Clarfify the DP code platform checks intel_dp.c is a mess with all the checks for different platform/PCH variants and ports. Try to clean it up by recognizing the following facts: - IVB port A, and CPT port B/C/D are always the special cases - VLV/CHV don't have port A - Using the same kind of logic everywhere makes things much easier to parse So let's move the IVB port A and PCH port B/C/D checks to be done first, and let the other cases fall through, and always check for these things using the same logic. Signed-off-by: Ville Syrjälä Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed