From: Daniel Vetter Date: Sun, 1 Jul 2012 12:58:27 +0000 (+0200) Subject: drm/i915/crt: convert to encoder disable/enable X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~15^2~3^2~52 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2124604b09b1f405d438815d797530c43269cc58;p=pandora-kernel.git drm/i915/crt: convert to encoder disable/enable CRT is the first output which can be cloned, hence we cannot (yet) move the dpms handling over to disable/enable. This requires some more smarts in intel_crtc_dpms first to set the display pipe status depening upon encoder->connectors_active of all connected encoders. Because that will happen in a separate step, don't touch the dpms functions, yet. v2: Be careful about clearing the _DISABLE flags for intermediate dpms modes - otherwise we might clobber the crt state when another (cloned) connector gets enabled. Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed