]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit7bec756c74b1a5079d5074144bb77a6b3e7d7783
tree704b5ffbb921f6798e5c29df369c64561d4d425c
parentfe56cf45f951b3810313584605c1d8a4f20b33a4
drm: disable encoders before re-routing them

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>
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_crtc_helper.h