From: Daniel Vetter Date: Thu, 6 Sep 2012 20:15:43 +0000 (+0200) Subject: drm/i915: rip out dp port enabling cludges^Wchecks X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~14^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c33d8d7cc825afbaf1d2c546fbb238fc45c607d;p=pandora-kernel.git drm/i915: rip out dp port enabling cludges^Wchecks These have been added because dp links are fiddle things and don't like it when we try to re-train an enabled output (or disable a disabled output harder). And because the crtc helper code is ridiculously bad add tracking the modeset state. But with the new code in place it is simply a bug to disable a disabled encoder or to enable an enabled encoder again. Hence convert these to WARNs (and bail out for safety), but flatten all conditionals in the code itself. Reviewed-by: Paulo Zanoni Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed