From: Jesse Barnes Date: Tue, 10 Apr 2012 18:58:03 +0000 (-0700) Subject: drm/i915: make DP configuration vars less confusing in ironlake_crtc_mode_se X-Git-Tag: v3.5-rc1~83^2~81^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3aef17286850a77f11a6dac28d972f65cde2235;p=pandora-kernel.git drm/i915: make DP configuration vars less confusing in ironlake_crtc_mode_se Both PCH and CPU eDP are DP, so set the is_dp flag to true. Add is_cpu_edp and is_pch_edp bools to make checking for each less verbose (rather than has_edp_encoder && !intel_encoder_is_pch_edp() sprinkled everywhere). And rename the "has_edp_encoder" variable to just "edp_encoder". With the above variables cleaned up, the rest of the code becomes a bit more readable and clear. Signed-off-by: Jesse Barnes Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed