drm/i915: mask transcoder select bits before setting them on LVDS
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 12 Jan 2012 22:51:17 +0000 (14:51 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Jan 2012 05:36:38 +0000 (21:36 -0800)
commit7885d2052bd94395e337709cfba093a41f273ff1
tree1bbfc9465d5573198cca8214f14415d5a8371c33
parenta190d703f0cd1de301b80c3219cf891c2779d15f
drm/i915: mask transcoder select bits before setting them on LVDS

The transcoder port may changed from mode set to mode set, so make sure
to mask out the selection bits before setting the right ones or we'll
get black screens when going from transcoder B to A.

Tested-by: Vincent Vanackere <vincent.vanackere@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c