diff options
author | Eric Anholt <eric@anholt.net> | 2007-01-16 12:54:29 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-01-16 12:54:29 -0800 |
commit | 66c6427cc83e5e381932b0c10743cba4cb9ac883 (patch) | |
tree | 3736cd91468576429ef52b4e4fc637905185024b /src/i810_reg.h | |
parent | 45696aa29124e2852f94880642e70bb2e0cee827 (diff) |
Add a settable backlight property for LVDS.
This extends the output funcs to have a callback for when it's time to
configure properties, and another for when the server has changed a property
whose value isn't pending a mode set. (Pending properties are to be picked up
by the driver at mode_set time).
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r-- | src/i810_reg.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h index c2eb8546..33b059d6 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -937,8 +937,21 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define BLC_PWM_CTL 0x61254 #define BACKLIGHT_MODULATION_FREQ_SHIFT (17) +/** + * This is the most significant 15 bits of the number of backlight cycles in a + * complete cycle of the modulated backlight control. + * + * The actual value is this field multiplied by two. + */ #define BACKLIGHT_MODULATION_FREQ_MASK (0x7fff << 17) #define BLM_LEGACY_MODE (1 << 16) +/** + * This is the number of cycles out of the backlight modulation cycle for which + * the backlight is on. + * + * This field must be no greater than the number of cycles in the complete + * backlight modulation cycle. + */ #define BACKLIGHT_DUTY_CYCLE_SHIFT (0) #define BACKLIGHT_DUTY_CYCLE_MASK (0xffff) |