From: Daniel Vetter Date: Thu, 26 Jul 2012 17:25:46 +0000 (+0200) Subject: drm/i915: rip out intel_dp->dpms_mode X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~15^2~3^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24e804ba9731bf4b05bc17a6702d802e76b3bbc4;p=pandora-kernel.git drm/i915: rip out intel_dp->dpms_mode We now track the connector state in encoder->connectors_active, and because the DP output can't be cloned, that is sufficient to track the link state. Hence use this instead of adding yet another modeset state variable with dubious semantics at driver load and resume time. Also, connectors_active should only ever be set when the encoder is linked to a crtc, hence convert that crtc test into a WARN. v2: Rebase on top of struct intel_dp moving. v3: The rebase accidentally killed the newly-introduced intel_dp->port Noticed by Paulo Zanoni. Reviewed-by: Jesse Barnes Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed