drm: disable encoders before re-routing them
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 24 Feb 2009 00:09:34 +0000 (16:09 -0800)
committerDave Airlie <airlied@linux.ie>
Wed, 25 Feb 2009 04:42:23 +0000 (14:42 +1000)
In some cases we may receive a mode config that has a different
CRTC<->encoder map that the current configuration.  In that case, we
need to disable any re-routed encoders before setting the mode,
otherwise they may not pick up the new CRTC (if the output types are
incompatible for example).

Tested-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found