]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: use ACPI LID status for LVDS ->detect hook
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 10 Sep 2009 22:28:04 +0000 (15:28 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 10 Sep 2009 23:10:21 +0000 (16:10 -0700)
commitb42d4c5c6a872815d711e5d51a600f5122c38eee
tree3cf56dff583ec83110d6d20466892642e71a9699
parentc1c7af60892070e4b82ad63bbfb95ae745056de0
drm/i915: use ACPI LID status for LVDS ->detect hook

We can't load or hotplug detect LVDS like we can other outputs, but if
there's a lid device present we can use it as a proxy.  This allows the
LFP state to be determined at ->detect time, making configurations
requiring manual intervention today "just work" assuming the lid device
status is correct.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c