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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:30:56 +0000 (15:30 -0700)
commitded9eb546ae8f437ac53bfd5d8bfdec7f1bc49ed
tree1068a0f76ac0fade3527c52f8c608cd95823b2fd
parent0147c2ae9d602b5791dae30322ece475271acd10
drm/i915: mask transcoder select bits before setting them on LVDS

commit 7885d2052bd94395e337709cfba093a41f273ff1 upstream.

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>
Cc: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/intel_display.c