summaryrefslogtreecommitdiff
path: root/src/i810_reg.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-06-19 13:22:17 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-06-19 13:22:17 -0700
commitb5acc6b3a3a3a109014d6b971f4722d0f0a4c29a (patch)
treea73c0a385b63ed9babcc419678c69dc8ca2e9174 /src/i810_reg.h
parentc1c46f882f9a11c383c8d1d1ce393be8fda55ed0 (diff)
Add backlight control to DPMS logic.
Turn backlight on and off in response to DPMS state changes.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r--src/i810_reg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index 53c65bbf..f7ba930f 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -728,6 +728,13 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# define SDVO_MULTIPLIER_MASK 0x000000ff
# define SDVO_DEFAULT_MULTIPLIER 0x00000003
+#define BLC_PWM_CTL 0x61254
+#define BACKLIGHT_MODULATION_FREQ_SHIFT (17)
+#define BACKLIGHT_MODULATION_FREQ_MASK (0x7fff << 17)
+#define BLM_LEGACY_MODE (1 << 16)
+#define BACKLIGHT_DUTY_CYCLE_SHIFT (0)
+#define BACKLIGHT_DUTY_CYCLE_MASK (0xffff)
+
#define FPA0 0x06040
#define FPA1 0x06044
#define FPB0 0x06048