aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_reg.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@srcf.ucam.org>2008-08-05 14:37:25 -0400
committerDave Airlie <airlied@linux.ie>2008-10-17 17:10:10 -0400
commit8ee1c3db9075cb3211352e737e0feb98fd733b20 (patch)
treead91cc8b4ce57fdfdbac8920ba4b352a6871c782 /drivers/gpu/drm/i915/i915_reg.h
parent398c9cb20b5c6c5d1313912b937d653a46fec578 (diff)
Add Intel ACPI IGD OpRegion support
This adds the support necessary for allowing ACPI backlight control to work on some newer Intel-based graphics systems. Tested on Thinkpad T61 and HP 2510p hardware. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r--drivers/gpu/drm/i915/i915_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 477c64e6ba2d..43ad2cb8b9f5 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -740,6 +740,7 @@
740#define BLC_PWM_CTL 0x61254 740#define BLC_PWM_CTL 0x61254
741#define BACKLIGHT_MODULATION_FREQ_SHIFT (17) 741#define BACKLIGHT_MODULATION_FREQ_SHIFT (17)
742#define BLC_PWM_CTL2 0x61250 /* 965+ only */ 742#define BLC_PWM_CTL2 0x61250 /* 965+ only */
743#define BLM_COMBINATION_MODE (1 << 30)
743/* 744/*
744 * This is the most significant 15 bits of the number of backlight cycles in a 745 * This is the most significant 15 bits of the number of backlight cycles in a
745 * complete cycle of the modulated backlight control. 746 * complete cycle of the modulated backlight control.