]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't check for lid presence when detecting LVDS
authorMatthew Garrett <mjg@redhat.com>
Tue, 15 Dec 2009 18:55:24 +0000 (13:55 -0500)
committerEric Anholt <eric@anholt.net>
Wed, 16 Dec 2009 17:18:48 +0000 (09:18 -0800)
commitc3a0b0cc2b36703b785c494d0d063443dcc873b8
treed87ff2eec15e528f5cdcaf6ebaa9099b7234dae2
parent1d04c411aa0531144b523fd2da9b3de6e38a1e98
drm/i915: Don't check for lid presence when detecting LVDS

Checking for the presence of a lid in order to validate whether or not
an LVDS display exists fails on some development platforms that implement
a lid device but allow the LVDS to be disabled. The VBT is correctly
updated, but Linux assumes that an LVDS is still present and lies to
userspace. Remove the lid check and trust the VBT.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c