drm/i915: Use ACPI OpRegion to determine lid status
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 16 Jan 2011 19:37:30 +0000 (19:37 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jan 2011 12:32:21 +0000 (12:32 +0000)
commit01fe9dbde19a1a27b8ee63e2d964562962e1eb78
treecede652e37a3e96acbbe04efe14be23bcc6ff8ea
parentc56eb8fb6dccb83d9fe62fd4dc00c834de9bc470
drm/i915: Use ACPI OpRegion to determine lid status

Admittedly, trusting ACPI or the BIOS at all to be correct is littered
with numerous examples where it is wrong. Maybe, just maybe, we will
have better luck using the ACPI OpRegion lid status...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_opregion.c