drm/i915: ignore pipe select bit when checking for LVDS register initialization
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 13 Jun 2012 18:46:58 +0000 (13:46 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Jun 2012 19:05:06 +0000 (21:05 +0200)
commit14d94a3d82ab3ef6b3a9f881e134d5b48323b202
treebce94fa44ca96ef1be1cd252e941dda87b1f2231
parent93314b5b6f343f5a4c14c89d000007a754190c9a
drm/i915: ignore pipe select bit when checking for LVDS register initialization

The Lenovo Thinkpad T410 has the LVDS_PIPEB_SELECT bit set in the LVDS
register when booted with the lid closed, even though the LVDS hasn't
really been initialized. Ignore this bit so that the VBT value will be
used instead.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c