diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-16 14:37:30 -0500 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-19 07:32:21 -0500 |
commit | 01fe9dbde19a1a27b8ee63e2d964562962e1eb78 (patch) | |
tree | cede652e37a3e96acbbe04efe14be23bcc6ff8ea /drivers/gpu/drm/i915/i915_drv.h | |
parent | c56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 5969f46ac2d6..536368a43412 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -111,6 +111,7 @@ struct intel_opregion { | |||
111 | struct opregion_swsci *swsci; | 111 | struct opregion_swsci *swsci; |
112 | struct opregion_asle *asle; | 112 | struct opregion_asle *asle; |
113 | void *vbt; | 113 | void *vbt; |
114 | u32 __iomem *lid_state; | ||
114 | }; | 115 | }; |
115 | #define OPREGION_SIZE (8*1024) | 116 | #define OPREGION_SIZE (8*1024) |
116 | 117 | ||